From owner-freebsd-usb@FreeBSD.ORG Mon Nov 30 00:40:59 2009 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 70F7F106566B for ; Mon, 30 Nov 2009 00:40:59 +0000 (UTC) (envelope-from brett@lariat.net) Received: from lariat.net (lariat.net [66.119.58.2]) by mx1.freebsd.org (Postfix) with ESMTP id BCEC38FC14 for ; Mon, 30 Nov 2009 00:40:58 +0000 (UTC) Received: from anne-o1dpaayth1.lariat.net (IDENT:ppp1000.lariat.net@lariat.net [66.119.58.2]) by lariat.net (8.9.3/8.9.3) with ESMTP id RAA15864; Sun, 29 Nov 2009 17:04:18 -0700 (MST) Message-Id: <200911300004.RAA15864@lariat.net> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Sun, 29 Nov 2009 16:51:09 -0700 To: pyunyh@gmail.com From: Brett Glass In-Reply-To: <20091129213831.GB1128@michelle.cdnetworks.com> References: <200911290250.nAT2o3L7086305@freefall.freebsd.org> <20091129213831.GB1128@michelle.cdnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Cc: freebsd-usb@freebsd.org Subject: Re: usb/140883: [axe] USB gigabit ethernet hangs after short period of traffic X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Nov 2009 00:40:59 -0000 At 02:38 PM 11/29/2009, Pyun YongHyeon wrote: >I'm not sure buffer size allowed in driver is 4K. Long time ago I >increased Rx buffer size to 16KB from 2KB for 88178/88772. That >change was essential to get 220Mbps for 88178/88772 on Rx. The >patch was not made into 8.0-RELEASE though. If not, it certainly ought to get into 8.1-RELEASE and 7.3-RELEASE... so long as it doesn't cause the USB stack to freeze up. 16 KB is a much more reasonable buffer size. By the way, I've done some stress testing with the patch I posted, and it seems very solid. It appears that the AX88772A chip can safely be treated like an AX88772. --Brett Glass