summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@freescale.com>2015-10-13 15:18:21 +0800
committerNitin Garg <nitin.garg@nxp.com>2016-01-14 11:02:15 -0600
commitccbd12b1102412a8df078f580a1a4955b18e9a3d (patch)
treef3d80a24d5b730769252bb690ca14d9704465263 /scripts
parent35823caac3c45911557137cc56bc1869df45ab4c (diff)
usb: misc: usbtest: add bulk queue test
The bulk queue tests are used to show 'best performance' for bulk transfer, we are often asked this question by users. The implementation is the same with iso test, that is queue request at interrupt completion, so we reuse the iso structures, and rename them as common one. It's result should be very close to IC simulation, in order to get that, the device side should also need to prepare enough queue. We have got the 'best performance' (IN: 41MB, OUT: 39MB) at i.mx platform (USB2, ARM Cortex A9, stream mode need to enable) with below command: Host side: modprobe usbtest ./testusb -a -t 27 -g 64 -s 16384 ./testusb -a -t 28 -g 64 -s 16384 Gadget side: modprobe g_zero loopdefault=1 qlen=64 buflen=16384 Signed-off-by: Peter Chen <peter.chen@freescale.com> Cc: Greg KH <gregkh@linuxfoundation.org> Cc: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions