Linux: fire multiple URBs at once for split transfers
authorDaniel Drake <dsd@gentoo.org>
Fri, 11 Apr 2008 20:40:07 +0000 (21:40 +0100)
committerDaniel Drake <dsd@gentoo.org>
Fri, 11 Apr 2008 20:42:29 +0000 (21:42 +0100)
commitad6e2b712c5b54af44424e58a2776686314e26b7
tree637282b9706bfab7ab90e59f688b8bb4ddf1e458
parentd9b2ce2894ed43d34de6850f2dac50ccabf1db55
Linux: fire multiple URBs at once for split transfers

This results in a significant performance increase for bulk transfers
larger than 16kb, and fixes a bug where data would be spliced and mixed
between two simultaneously submitted transfers to the same endpoint.

It also allows isochronous transfers larger than 16kb to be submitted.

This commit also improves cancellation - the library now understands
what is going on.
TODO
libusb/io.c
libusb/libusbi.h
libusb/os/linux_usbfs.c
libusb/os/linux_usbfs.h