Files
linux-apfs/include/linux
Ming Lei a88c32ae15 USBNET: centralize computing of max rx/tx qlen
This patch centralizes computing of max rx/tx qlen, because:

- RX_QLEN()/TX_QLEN() is called in hot path
- computing depends on device's usb speed, now we have ls/fs, hs, ss,
so more checks need to be involved
- in fact, max rx/tx qlen should not only depend on device USB
speed, but also depend on ethernet link speed, so we need to
consider that in future.
- if SG support is done, max tx qlen may need change too

Generally, hard_mtu and rx_urb_size are changed in bind(), reset()
and link_reset() callback, and change mtu network operation, this
patches introduces the API of usbnet_update_max_qlen(), and calls
it in above path.

Signed-off-by: Ming Lei <ming.lei@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-07-27 20:10:57 -07:00
..
2013-06-27 13:42:16 -04:00
2013-07-03 16:07:39 -07:00
2013-07-05 18:59:33 +04:00
2013-07-10 23:41:18 +01:00
2013-06-19 23:32:07 -04:00
2013-07-03 16:07:32 -07:00
2013-07-18 13:05:23 -07:00
2013-07-16 22:00:14 -07:00
2013-07-09 10:33:30 -07:00
2013-07-10 18:11:34 -07:00
2013-07-02 15:38:19 +09:30
2013-07-03 16:08:05 -07:00
2013-07-24 17:57:26 -07:00
2013-06-26 15:55:52 -06:00
2013-06-26 21:10:05 +02:00
2013-06-21 11:32:51 +02:00
2013-07-03 16:08:05 -07:00
2013-07-10 18:11:34 -07:00
2013-07-05 11:41:00 +05:30
2013-06-20 13:08:01 -07:00
2013-07-24 17:54:48 -07:00
2013-07-10 18:11:34 -07:00