Hi, with these patches (and, no, the mass storage patch is not important; at least not for USB2, I tested without that as well), I increased USB2 on a AM437x board with g_mass_storage using RAM as backing store from 17MiB/sec to 39MiB/sec as measured by dd (with oflag/iflag=direct depending on whether I was writing or reading from g_mass_storage). I'm yet to test all other gadget drivers to make sure there are no regressions, but it's looking promissing. cheers Felipe Balbi (5): usb: dwc3: gadget: start requests as soon as they come usb: dwc3: gadget: start using Update Transfer more often usb: dwc3: gadget: clear DWC3_PENDING_REQUEST when request is queued usb: dwc3: gadget: remove 'start_new' parameter usb: gadget: mass_storage: allow for deeper queue lengths drivers/usb/dwc3/gadget.c | 67 +++++++++++++++------------- drivers/usb/gadget/Kconfig | 2 +- drivers/usb/gadget/function/f_mass_storage.c | 2 +- 3 files changed, 37 insertions(+), 34 deletions(-) -- 2.5.0 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html