diff options
author | Johan Hovold <jhovold@gmail.com> | 2010-03-17 23:06:07 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-20 13:21:35 -0700 |
commit | 25d514ca227e1ac81d0906a4ccf2aa171f50a600 (patch) | |
tree | 599690248485fb28cd61cf0ce73004e4fbbf3559 /Documentation/ABI | |
parent | 40f92f0dcd9b215c48c53a226328e8e36615e367 (diff) |
USB: serial: re-implement multi-urb writes in generic driver
Use dynamic transfer buffer sizes since it is more efficient to let the
host controller do the partitioning to fit endpoint size. This way we
also do not use more than one urb per write request.
Replace max_in_flight_urbs with multi_urb_write flag in struct
usb_serial_driver to enable multi-urb writes.
Use MAX_TX_URBS=40 and a max buffer size of PAGE_SIZE to prevent DoS
attacks.
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation/ABI')
0 files changed, 0 insertions, 0 deletions