diff options
| author | Hans de Goede <[email protected]> | 2012-07-04 09:18:03 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2012-07-06 10:53:20 -0700 |
| commit | 3d97ff63f8997761f12c8fbe8082996c6eeaba1a (patch) | |
| tree | a32cd04584cf59dac78be5b2f69bb9865b69f6ea /tools/perf/scripts/python | |
| parent | 19181bc50e1b8e92a7a3b3d78637c6dc5c0b5a1b (diff) | |
usbdevfs: Use scatter-gather lists for large bulk transfers
When using urb->transfer_buffer we need to allocate physical contiguous buffers
for the entire transfer, which is pretty much guaranteed to fail with large
transfers.
Currently userspace works around this by breaking large transfers into multiple
urbs. For large bulk transfers this leads to all kind of complications.
This patch makes it possible for userspace to reliable submit large bulk
transfers to scatter-gather capable host controllers in one go, by using a
scatterlist to break the transfer up in managable chunks.
Signed-off-by: Hans de Goede <[email protected]>
Acked-by: Alan Stern <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions