Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • drivers
  • usb
  • core
  • devio.c
Find file BlameHistoryPermalink
  • Hans de Goede's avatar
    usbdevfs: Use scatter-gather lists for large bulk transfers · 3d97ff63
    Hans de Goede authored Jul 04, 2012
    
    
    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: default avatarHans de Goede <hdegoede@redhat.com>
    Acked-by: default avatarAlan Stern <stern@rowland.harvard.edu>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    3d97ff63
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7