linux/drivers/usb/gadget
Jim Baxter 66847062a6 usb: gadget: NCM: Stop RX TCP Bursts getting dropped.
This fixes a problem with dropped packets over 16k CDC-NCM
when the connection is being heavily used.

The issue was that the extracted frames cloned from the
received frame were consuming more memory than necessary
resulting in the truesize being ~32KB instead of ~2KB, this
meant there was a high chance of reaching the sk_rcvbuf
limit.

Signed-off-by: Jim Baxter <jim_baxter@mentor.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2014-07-10 08:49:39 -05:00
..
acm_ms.c usb: gadget: Convert drivers to use module_usb_composite_driver() 2014-07-10 08:37:09 -05:00
amd5536udc.c usb: delete non-required instances of include <linux/init.h> 2014-01-08 15:01:39 -08:00
amd5536udc.h
at91_udc.c usb: gadget: at91-udc: fix irq and iomem resource retrieval 2014-04-30 11:59:06 -05:00
at91_udc.h
atmel_usba_udc.c usb: gadget: atmel_usba_udc: delete __init marker for probe 2014-06-30 12:32:42 -05:00
atmel_usba_udc.h usb: gadget: at91: using USBA_NR_DMAS for DMA channels 2014-02-19 13:47:12 -06:00
audio.c usb: gadget: Convert drivers to use module_usb_composite_driver() 2014-07-10 08:37:09 -05:00
bcm63xx_udc.c usb: gadget: bcm63xx_udc: fix build failure on DMA channel code 2014-02-18 10:34:54 -06:00
cdc2.c usb: gadget: Convert drivers to use module_usb_composite_driver() 2014-07-10 08:37:09 -05:00
composite.c usb: gadget: make return of 0 explicit 2014-05-27 15:58:57 -07:00
config.c
configfs.c usb: gadget: Use kmemdup instead of kmalloc + memcpy 2014-06-30 12:27:09 -05:00
configfs.h usb: gadget: configfs: OS Extended Compatibility descriptors support 2014-05-14 09:39:25 -05:00
dbgp.c
dummy_hcd.c usb: gadget: make return of 0 explicit 2014-05-27 15:58:57 -07:00
epautoconf.c usb: delete non-required instances of include <linux/init.h> 2014-01-08 15:01:39 -08:00
ether.c usb: gadget: Convert drivers to use module_usb_composite_driver() 2014-07-10 08:37:09 -05:00
f_acm.c
f_ecm.c usb: gadget: f_ecm: remove compatibility layer 2013-12-12 13:43:36 -06:00
f_eem.c usb: gadget: fix eem_wrap cloned skb logic 2014-07-10 08:45:32 -05:00
f_fs.c usb: gadget: f_fs: OS descriptors support 2014-07-10 08:36:52 -05:00
f_hid.c usb: gadget: factor out alloc_ep_req 2013-11-26 13:41:32 -06:00
f_loopback.c usb: gadget: f_loopback: Fix sparse warning 2013-12-17 13:17:42 -06:00
f_mass_storage.c usb: gadget: f_mass_storage: Fix sparse warning 2013-12-17 13:17:43 -06:00
f_mass_storage.h usb: gadget: f_mass_storage: remove compatibility layer 2013-10-10 10:24:53 -05:00
f_midi.c usb: gadget: Convert to snd_card_new() with a device pointer 2014-02-14 08:14:11 +01:00
f_ncm.c usb: gadget: NCM: Stop RX TCP Bursts getting dropped. 2014-07-10 08:49:39 -05:00
f_obex.c usb: gadget: f_obex: Fix sparse warning 2013-12-17 13:17:43 -06:00
f_phonet.c usb: gadget: f_phonet: Fix sparse warning 2013-12-17 13:17:44 -06:00
f_rndis.c usb: patches for v3.16 merge window 2014-05-23 11:28:21 +09:00
f_serial.c usb: gadget: f_serial: Fix sparse warning 2013-12-17 13:17:44 -06:00
f_sourcesink.c usb: gadget: f_sourcesink: Fix sparse warning 2013-12-17 13:17:44 -06:00
f_subset.c usb: gadget: f_subset: replace PTR_RET with PTR_ERR_OR_ZERO 2014-04-21 14:07:29 -05:00
f_uac1.c
f_uac2.c usb: gadget: f_uac2: don't queue new requests when shutting down 2014-05-15 10:30:31 -05:00
f_uvc.c
f_uvc.h
fotg210-udc.c usb: gadget: fotg210-udc: remove unnecessary OOM messages 2014-05-14 09:23:27 -05:00
fotg210.h
fsl_mxc_udc.c
fsl_qe_udc.c usb: gadget: fsl_qe_udc: Introduce use of managed version of kzalloc 2014-06-30 12:26:34 -05:00
fsl_qe_udc.h
fsl_udc_core.c usb: gadget: fsl_udc_core: should not call gadget driver's .unbind 2014-06-30 13:25:17 -05:00
fsl_usb2_udc.h
functions.c
fusb300_udc.c usb: gadget: fusb300_udc: should not call gadget driver's .unbind 2014-06-30 13:25:18 -05:00
fusb300_udc.h
g_ffs.c usb: gadget: FunctionFS: Return -ENOENT instead of -ENODEV when device not found. 2014-06-30 13:27:35 -05:00
g_zero.h usb: gadget: f_sourcesink: add configfs support 2013-11-26 13:47:41 -06:00
gadget_chips.h
gmidi.c usb: gadget: Convert drivers to use module_usb_composite_driver() 2014-07-10 08:37:09 -05:00
goku_udc.c usb: delete non-required instances of include <linux/init.h> 2014-01-08 15:01:39 -08:00
goku_udc.h
gr_udc.c usb: gadget: gr_udc: Make of_device_id array const 2014-06-30 12:14:57 -05:00
gr_udc.h usb: gadget: Add UDC driver for Aeroflex Gaisler GRUSBDC 2013-12-23 19:26:13 -06:00
hid.c
inode.c usb: gadget: rename CONFIG_USB_GADGET_PXA25X 2014-05-27 16:25:32 -07:00
Kconfig usb: gadget: net2280: Add support for PLX USB338X 2014-06-30 12:33:30 -05:00
lpc32xx_udc.c usb: gadget: lpc32xx: delete __init marker for probe 2014-06-30 12:32:43 -05:00
m66592-udc.c usb: gadget: m66592-udc: should not call gadget driver's .unbind 2014-06-30 13:25:18 -05:00
m66592-udc.h
Makefile usb: dwc2/s3c-hsotg: move s3c-hsotg into dwc2 directory 2014-04-24 13:12:43 -07:00
mass_storage.c usb: gadget: mass_storage: convert to new interface of f_mass_storage 2013-10-10 10:24:10 -05:00
multi.c usb: gadget: Convert drivers to use module_usb_composite_driver() 2014-07-10 08:37:09 -05:00
mv_u3d_core.c usb: gadget: mv_u3d_core: remove unnecessary OOM messages 2014-05-14 09:23:29 -05:00
mv_u3d.h
mv_udc_core.c usb: delete non-required instances of include <linux/init.h> 2014-01-08 15:01:39 -08:00
mv_udc.h
ncm.c usb: gadget: Convert drivers to use module_usb_composite_driver() 2014-07-10 08:37:09 -05:00
ndis.h
net2272.c usb: gadget: net2272: do not need to judge gadget driver's .unbind 2014-06-30 13:25:19 -05:00
net2272.h
net2280.c usb: gadget: net2280: Fix typo on #ifdef 2014-07-10 08:36:50 -05:00
net2280.h usb: gadget: net2280: Use quirks instead of pci id 2014-06-30 12:33:35 -05:00
nokia.c usb: gadget: Convert drivers to use module_usb_composite_driver() 2014-07-10 08:37:09 -05:00
omap_udc.c usb: gadget: omap_udc: should not call gadget driver's .unbind 2014-06-30 13:25:20 -05:00
omap_udc.h
pch_udc.c usb: gadget: add "maxpacket_limit" field to struct usb_ep 2013-12-17 13:17:41 -06:00
printer.c usb: patches for v3.15 2014-03-07 16:47:36 -08:00
pxa25x_udc.c usb: gadget: pxa25x_udc: use correct header for gpio devm_ functions 2014-07-10 08:36:50 -05:00
pxa25x_udc.h
pxa27x_udc.c usb: gadget: pxa27x_udc: prepare and unprepare the clock 2014-06-30 12:53:38 -05:00
pxa27x_udc.h
r8a66597-udc.c usb: gadget: r8a66597-udc: delete __init marker for probe 2014-06-30 12:33:28 -05:00
r8a66597-udc.h
rndis.c usb: patches for v3.16 merge window 2014-05-23 11:28:21 +09:00
rndis.h
s3c2410_udc.c usb: gadget: s3c2410: Move to clk_prepare_enable/clk_disable_unprepare 2014-06-30 14:28:47 -05:00
s3c2410_udc.h
s3c-hsudc.c usb: gadget: s3c-hsudc: remove unused label 2014-02-18 10:52:53 -06:00
serial.c
storage_common.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2014-06-12 10:30:18 -07:00
storage_common.h usb: gadget: mass storage: fix return of delayed status 2013-11-25 10:56:33 -06:00
tcm_usb_gadget.c Merge branch 'locking-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip into next 2014-06-03 12:57:53 -07:00
tcm_usb_gadget.h
u_ecm.h
u_eem.h
u_ether_configfs.h
u_ether.c usb: gadget: NCM: Add transmit multi-frame. 2014-07-10 08:49:38 -05:00
u_ether.h usb: gadget: NCM: Add transmit multi-frame. 2014-07-10 08:49:38 -05:00
u_f.c usb: gadget: only GPL drivers in the gadget and phy framework 2014-04-21 14:07:12 -05:00
u_f.h usb: gadget: FunctionFS: share VLA macros with all usb gadget files 2014-05-14 09:37:27 -05:00
u_fs.h usb: gadget: f_fs: OS descriptors support 2014-07-10 08:36:52 -05:00
u_gether.h
u_ncm.h
u_os_desc.h usb: gadget: u_os_desc: helper functions for accessing ext prop buffer 2014-07-10 08:36:51 -05:00
u_phonet.h
u_rndis.h usb: gadget: f_rndis: OS descriptors support 2014-05-14 09:38:58 -05:00
u_serial.c tty: Fix low_latency BUG 2014-02-28 16:31:00 -08:00
u_serial.h
u_uac1.c
u_uac1.h
udc-core.c usb: udc-core: set gadget state as not attached after unloading module 2014-05-12 12:34:47 -05:00
usbstring.c usb: delete non-required instances of include <linux/init.h> 2014-01-08 15:01:39 -08:00
uvc_queue.c usb: gadget: uvc: Set the vb2 queue timestamp flags 2014-05-15 11:07:56 -05:00
uvc_queue.h
uvc_v4l2.c
uvc_video.c
uvc.h
webcam.c usb: gadget: Convert drivers to use module_usb_composite_driver() 2014-07-10 08:37:09 -05:00
zero.c usb: gadget: Convert drivers to use module_usb_composite_driver() 2014-07-10 08:37:09 -05:00