USB: increase cdc-acm write throughput
authorDavid Engraf <david.engraf@netcom.eu>
Thu, 20 Mar 2008 09:01:34 +0000 (10:01 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 25 Apr 2008 04:16:44 +0000 (21:16 -0700)
commite4cf3aa8f9cd6ee4d583b5d445b5c152acefcde4
tree1e1a442763c227bbe0c72952f8e5e599ecd30a97
parent28d1dfadd3ca07e7ec1c3de4f82ac2b8ece4be91
USB: increase cdc-acm write throughput

the following patch uses 16 write urbs and a writsize of wMaxPacketSize
* 20.  With this patch I get the maximum througput from my linux system
with 20MB/sec read and 15 MB/sec write (full speed 1 MB/sec both)

I also deleted the flag URB_NO_FSBR for the writeurbs, because this
makes my full speed devices significant slower.

Signed-off-by: David Engraf <david.engraf@netcom.eu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/class/cdc-acm.c
drivers/usb/class/cdc-acm.h