]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
USBNET: increase max rx/tx qlen for improving USB3 thoughtput
authorMing Lei <ming.lei@canonical.com>
Thu, 25 Jul 2013 05:47:54 +0000 (13:47 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 28 Jul 2013 03:10:57 +0000 (20:10 -0700)
commit452c447a497dce3c9faeb9ac7f2e1ff39232876b
tree1ef4704e1598a67974e6ca000b1cb1d2a4105c53
parenta88c32ae15f25fcf0a3c9fadd92f840a1abf0e43
USBNET: increase max rx/tx qlen for improving USB3 thoughtput

The default RX_QLEN()/TX_QLEN() didn't consider super speed
USB device, so only max 4 URBs are scheduled at the same time
for tx/rx, then USB3 NIC can't perform very well.

With this patch, both rx and tx thoughput are increased more than
100Mbps when doing iperf test on ax88179_178a USB 3.0 NIC.

Signed-off-by: Ming Lei <ming.lei@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/usbnet.c