aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Neukum <oneukum@suse.com>2016-05-02 07:06:13 -0400
committerDavid S. Miller <davem@davemloft.net>2016-05-03 15:49:34 -0400
commitea0798423c60a1d34c75e5fedae009aee0a8de5f (patch)
tree6cf0adc7770f70d81acaaa3198138dc95a13d770
parent8caf115c726e87526c4a1cbd8ba616d6a022ccd8 (diff)
usbnet: correct speed testing
Allow for SS+ USB Signed-off-by: Oliver Neukum <ONeukum@suse.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/usb/usbnet.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/usb/usbnet.c b/drivers/net/usb/usbnet.c
index 10798128c03f..4837854fd43c 100644
--- a/drivers/net/usb/usbnet.c
+++ b/drivers/net/usb/usbnet.c
@@ -356,6 +356,7 @@ void usbnet_update_max_qlen(struct usbnet *dev)
356 dev->tx_qlen = MAX_QUEUE_MEMORY / dev->hard_mtu; 356 dev->tx_qlen = MAX_QUEUE_MEMORY / dev->hard_mtu;
357 break; 357 break;
358 case USB_SPEED_SUPER: 358 case USB_SPEED_SUPER:
359 case USB_SPEED_SUPER_PLUS:
359 /* 360 /*
360 * Not take default 5ms qlen for super speed HC to 361 * Not take default 5ms qlen for super speed HC to
361 * save memory, and iperf tests show 2.5ms qlen can 362 * save memory, and iperf tests show 2.5ms qlen can