From owner-freebsd-usb@FreeBSD.ORG Mon Oct 4 19:58:51 2010 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5DB2C106564A; Mon, 4 Oct 2010 19:58:51 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id E16EF8FC14; Mon, 4 Oct 2010 19:58:50 +0000 (UTC) Received: by pzk1 with SMTP id 1so805568pzk.13 for ; Mon, 04 Oct 2010 12:58:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=i+H89a8Uq4s0+B/lwT9/qwFcFA7pED1+aZhfspyCXXk=; b=Dz3m2T6v9EDVcdiZKmWppthBwVhEpZ1P4JCDQk0L1c4Va4qMsYLtdAQbQl6Ap0EIF8 Fr5nMtKAAd3QLHJpPinl7yafQs/3N5koBraPzoUYVsaUj3VLHozB2+bfzimH4RTtRYRe uXSFSQG9BkOnYQEIjA6bbptKXof1SGucCw5qU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=EebYkUNYXlNlZghH43WXqlrQhTWqW4dX46zqWij3ctkj3NHlBwJXmBdfod6CvT2fPs go0+KDGg6tf/t9yE54+YzOVhnt9TFlqp1j0B9awKZTDziXoCT5T2mGsuOTX0HVjY0K4L 51DmeI3ARYGw3fTwgped00l23hyTmlIsbtx28= Received: by 10.143.166.11 with SMTP id t11mr9207514wfo.57.1286222317871; Mon, 04 Oct 2010 12:58:37 -0700 (PDT) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id 9sm6887985wfd.12.2010.10.04.12.58.35 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 04 Oct 2010 12:58:36 -0700 (PDT) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Mon, 4 Oct 2010 12:56:51 -0700 From: Pyun YongHyeon Date: Mon, 4 Oct 2010 12:56:51 -0700 To: Hans Petter Selasky Message-ID: <20101004195651.GE4814@michelle.cdnetworks.com> References: <4CA94B13.7020809@freebsd.org> <20101004192908.GD4814@michelle.cdnetworks.com> <201010042154.18353.hselasky@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201010042154.18353.hselasky@freebsd.org> User-Agent: Mutt/1.4.2.3i Cc: "freebsd-usb@freebsd.org" Subject: Re: Network TX/RX fairness is not honored by USB stack X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Oct 2010 19:58:51 -0000 On Mon, Oct 04, 2010 at 09:54:18PM +0200, Hans Petter Selasky wrote: > > > Personally I'd like to nuke the use of interrupt endpoint here but > > want to hear Han's opinion before doing that. > > If no data is ever transmitted except zero length packets, you can just nuke > it. > Controller always transfers meaningful 8 bytes data(about 1000times/sec) but interrupt callback didn't read it. Even if we can read that data, there is no use for that as link state changes are already handled by mii callback. It seems Linux wants to use that to show link UP/DOWN message though. > Rest of patch looks Ok. > Ok, thanks. > --HPS