summaryrefslogtreecommitdiff
path: root/drivers/net/usb
diff options
context:
space:
mode:
authorOliver Neukum <oneukum@suse.com>2016-05-02 14:06:13 +0300
committerDavid S. Miller <davem@davemloft.net>2016-05-03 22:49:34 +0300
commitea0798423c60a1d34c75e5fedae009aee0a8de5f (patch)
tree6cf0adc7770f70d81acaaa3198138dc95a13d770 /drivers/net/usb
parent8caf115c726e87526c4a1cbd8ba616d6a022ccd8 (diff)
downloadlinux-ea0798423c60a1d34c75e5fedae009aee0a8de5f.tar.xz
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>
Diffstat (limited to 'drivers/net/usb')
-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)
dev->tx_qlen = MAX_QUEUE_MEMORY / dev->hard_mtu;
break;
case USB_SPEED_SUPER:
+ case USB_SPEED_SUPER_PLUS:
/*
* Not take default 5ms qlen for super speed HC to
* save memory, and iperf tests show 2.5ms qlen can