Skip to content

Add dmabuf support for io_uring zcrx

Pavel Begunkov io-uring netdev 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/5io_uring/zcrx: improve area validationio_uring/rsrc.c io_uring/rsrc.h io_uring/zcrx.c+19 -170 replies
2/5io_uring/zcrx: resolve netdev before area creationio_uring/zcrx.c+11 -100 replies
3/5io_uring/zcrx: split out memory holders from areaio_uring/zcrx.c io_uring/zcrx.h+56 -260 replies
4/5io_uring/zcrx: split common area map/unmap partsio_uring/zcrx.c+29 -130 replies
5/5io_uring/zcrx: dmabuf backed zerocopy receiveinclude/uapi/linux/io_uring.h io_uring/zcrx.c io_uring/zcrx.h+151 -170 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH io_uring 0/5] Add dmabuf support for io_uring zcrx

Currently, io_uring zcrx uses regular user pages to populate the area for page pools, this series allows the user to pass a dmabuf instead.

Patches 1-4 are preparatory and do code shuffling. All dmabuf touching changes are in the last patch. A basic example can be found at:

https://github.com/isilence/liburing/tree/zcrx-dmabuf
https://github.com/isilence/liburing.git zcrx-dmabuf

Pavel Begunkov (5):
io_uring/zcrx: improve area validation io_uring/zcrx: resolve netdev before area creation io_uring/zcrx: split out memory holders from area io_uring/zcrx: split common area map/unmap parts io_uring/zcrx: dmabuf backed zerocopy receive

 include/uapi/linux/io_uring.h |   6 +-
 io_uring/rsrc.c               |  27 ++--
 io_uring/rsrc.h               |   2 +-
 io_uring/zcrx.c               | 260 +++++++++++++++++++++++++++-------
 io_uring/zcrx.h               |  18 ++-
 5 files changed, 248 insertions(+), 65 deletions(-)
Signature · 1 line
2.48.1