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>
This commit is contained in:
Родитель
8caf115c72
Коммит
ea0798423c
|
@ -356,6 +356,7 @@ void usbnet_update_max_qlen(struct usbnet *dev)
|
||||||
dev->tx_qlen = MAX_QUEUE_MEMORY / dev->hard_mtu;
|
dev->tx_qlen = MAX_QUEUE_MEMORY / dev->hard_mtu;
|
||||||
break;
|
break;
|
||||||
case USB_SPEED_SUPER:
|
case USB_SPEED_SUPER:
|
||||||
|
case USB_SPEED_SUPER_PLUS:
|
||||||
/*
|
/*
|
||||||
* Not take default 5ms qlen for super speed HC to
|
* Not take default 5ms qlen for super speed HC to
|
||||||
* save memory, and iperf tests show 2.5ms qlen can
|
* save memory, and iperf tests show 2.5ms qlen can
|
||||||
|
|
Загрузка…
Ссылка в новой задаче