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
..
association.h
atmel_usba_udc.h
audio-v2.h
audio.h
c67x00.h
cdc-wdm.h
USB: cdc-wdm: implement IOCTL_WDM_MAX_COMMAND
2013-03-25 13:32:20 -07:00
cdc_ncm.h
ch9.h
usb: common: introduce usb_state_string()
2013-03-18 11:17:11 +02:00
chipidea.h
usb: chipidea: drop "13xxx" infix
2013-06-24 16:16:55 -07:00
composite.h
usb: gadget: the start of the configfs interface
2013-04-03 14:43:32 +03:00
dwc3-omap.h
usb: dwc3: dwc3-omap: return -EPROBE_DEFER if probe has not yet executed
2013-03-18 11:18:14 +02:00
ehci_def.h
ehci_pdriver.h
ehci-platform: add pre_setup() method to platform data
2013-06-11 16:10:45 +09:00
ezusb.h
functionfs.h
g_hid.h
gadget.h
Correct typo "supperspeed" to "superspeed".
2013-05-15 17:19:15 +03:00
gadget_configfs.h
usb: gadget: the start of the configfs interface
2013-04-03 14:43:32 +03:00
gpio_vbus.h
hcd.h
Allow the USB HCD to create Wireless USB root hubs
2013-06-03 10:52:40 -07:00
input.h
intel_mid_otg.h
iowarrior.h
irda.h
isp116x.h
isp1301.h
isp1362.h
isp1760.h
m66592.h
msm_hsusb.h
msm_hsusb_hw.h
musb-omap.h
musb-ux500.h
usb: phy: ab8500-usb: update irq handling code
2013-03-18 14:41:33 +02:00
musb.h
net2280.h
nop-usb-xceiv.h
usb: phy: nop: Add some parameters to platform data
2013-03-18 11:13:54 +02:00
of.h
usb: fix build error without CONFIG_USB_PHY
2013-06-24 16:15:26 -07:00
ohci_pdriver.h
omap_control_usb.h
omap_usb.h
otg.h
usb: add devicetree helpers for determining dr_mode and phy_type
2013-06-17 13:47:09 -07:00
phy.h
usb: add devicetree helpers for determining dr_mode and phy_type
2013-06-17 13:47:09 -07:00
phy_companion.h
quirks.h
r8a66597.h
renesas_usbhs.h
usb: renesas_usbhs: fixup sparse errors for common.c
2013-04-02 11:42:48 +03:00
rndis_host.h
samsung_usb_phy.h
serial.h
USB: serial: increase the number of devices we support
2013-06-17 13:34:15 -07:00
sl811.h
storage.h
tegra_usb_phy.h
USB: EHCI: tegra: fix circular module dependencies
2013-06-17 13:54:48 -07:00
tilegx.h
uas.h
ulpi.h
usb: ulpi: Define a *otg_ulpi_create no-op
2013-03-20 17:30:40 +02:00
usbnet.h
USBNET: centralize computing of max rx/tx qlen
2013-07-27 20:10:57 -07:00
wusb-wa.h
USB: wusbcore: add HWA-specific fields to usb_rpipe_descriptor
2013-06-06 12:14:39 -07:00
wusb.h