Skip to content

add support for multiple ifqs per io_uring

Pavel Begunkov io-uring 2 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 1 replyApplied
  2. v15 patches 10 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/6io_uring/zcrx: remove duplicated freelist initio_uring/zcrx.c+0 -30 replies
2/6io_uring/zcrx: move io_zcrx_iov_pageio_uring/zcrx.c+14 -140 replies
3/6io_uring/zcrx: remove sqe->file_index checkio_uring/net.c+1 -20 replies
4/6io_uring/zcrx: let zcrx choose region for mmapingio_uring/memmap.c io_uring/memmap.h io_uring/zcrx.c +1 more+26 -40 replies
5/6io_uring/zcrx: move zcrx region to struct io_zcrx_ifqinclude/linux/io_uring_types.h io_uring/zcrx.c io_uring/zcrx.h+13 -100 replies
6/6io_uring/zcrx: add support for multiple ifqsinclude/linux/io_uring_types.h io_uring/io_uring.c io_uring/net.c +1 more+55 -300 replies

Reviews trailers per patch

3 of 6 patches have a Reviewed-by or Acked-by.

PatchDavid Wei
1/6R-b
2/6R-b
3/6
4/6
5/6R-b
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/6] add support for multiple ifqs per io_uring

Note: depends on patches queued for 6.15-rcN.

Patches 3-5 allow to register multiple ifqs within a single io_uring instance. That should be useful for setups with multiple interfaces.

Patch 1 and 2 and not related but I just bundled them together.

v2: fix returning the user an incorrect offset for mmap
add IORING_OFF_ZCRX_SHIFT
split Patch 3 out of Patch 6

Pavel Begunkov (6):
io_uring/zcrx: remove duplicated freelist init io_uring/zcrx: move io_zcrx_iov_page io_uring/zcrx: remove sqe->file_index check io_uring/zcrx: let zcrx choose region for mmaping io_uring/zcrx: move zcrx region to struct io_zcrx_ifq io_uring/zcrx: add support for multiple ifqs

 include/linux/io_uring_types.h |   7 +--
 io_uring/io_uring.c            |   3 +-
 io_uring/memmap.c              |  11 ++--
 io_uring/memmap.h              |   2 +
 io_uring/net.c                 |   8 +--
 io_uring/zcrx.c                | 107 ++++++++++++++++++++++-----------
 io_uring/zcrx.h                |   8 +++
 7 files changed, 96 insertions(+), 50 deletions(-)
Signature · 1 line
2.48.1