usb/140883: [axe] USB gigabit ethernet hangs after short period of traffic

Pyun YongHyeon pyunyh at gmail.com
Mon Nov 30 00:31:05 UTC 2009


On Sun, Nov 29, 2009 at 04:51:09PM -0700, Brett Glass wrote:
> 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.
> 

Actually 16KB was controller default buffer size of AX88178. axe(4)
just used to set 2KB for Rx buffer which could be safely set for
all ASIX controllers.

> 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.
> 

That's great!

> --Brett Glass
> 
> 


More information about the freebsd-usb mailing list