• Linus Torvalds's avatar
    Merge tag 'for-5.20/io_uring-zerocopy-send-2022-07-29' of git://git.kernel.dk/linux-block · 42df1cbf
    Linus Torvalds authored
    Pull io_uring zerocopy support from Jens Axboe:
     "This adds support for efficient support for zerocopy sends through
      io_uring. Both ipv4 and ipv6 is supported, as well as both TCP and
      UDP.
    
      The core network changes to support this is in a stable branch from
      Jakub that both io_uring and net-next has pulled in, and the io_uring
      changes are layered on top of that.
    
      All of the work has been done by Pavel"
    
    * tag 'for-5.20/io_uring-zerocopy-send-2022-07-29' of git://git.kernel.dk/linux-block: (34 commits)
      io_uring: notification completion optimisation
      io_uring: export req alloc from core
      io_uring/net: use unsigned for flags
      io_uring/net: make page accounting more consistent
      io_uring/net: checks errors of zc mem accounting
      io_uring/net: improve io_get_notif_slot types
      selftests/io_uring: test zerocopy send
      io_uring: enable managed frags with register buffers
      io_uring: add zc notification flush requests
      io_uring: rename IORING_OP_FILES_UPDATE
      io_uring: flush notifiers after sendzc
      io_uring: sendzc with fixed buffers
      io_uring: allow to pass addr into sendzc
      io_uring: account locked pages for non-fixed zc
      io_uring: wire send zc request type
      io_uring: add notification slot registration
      io_uring: add rsrc referencing for notifiers
      io_uring: complete notifiers in tw
      io_uring: cache struct io_notif
      io_uring: add zc notification infrastructure
      ...
    42df1cbf
tcp.c 123 KB