Skip to content

zcrx for-6.18 updates

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 Latest20 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/20io_uring/zcrx: improve rqe cache alignmentio_uring/zcrx.c+5 -40 replies
2/20io_uring/zcrx: replace memchar_inv with is_zeroio_uring/zcrx.c+1 -10 replies
3/20io_uring/zcrx: use page_pool_unref_and_test()io_uring/zcrx.c+1 -10 replies
4/20io_uring/zcrx: remove extra io_zcrx_drop_netdevio_uring/zcrx.c+0 -10 replies
5/20io_uring/zcrx: don't pass slot to io_zcrx_create_areaio_uring/zcrx.c+14 -40 replies
6/20io_uring/zcrx: move area reg checks into io_import_areaio_uring/zcrx.c+9 -90 replies
7/20io_uring/zcrx: check all niovs filled with dma addressesio_uring/zcrx.c+3 -00 replies
8/20io_uring/zcrx: pass ifq to io_zcrx_alloc_fallback()io_uring/zcrx.c+6 -60 replies
9/20io_uring/zcrx: deduplicate area mappingio_uring/zcrx.c+14 -230 replies
10/20io_uring/zcrx: remove dmabuf_offsetio_uring/zcrx.c io_uring/zcrx.h+2 -120 replies
11/20io_uring/zcrx: set sgt for umem areaio_uring/zcrx.c io_uring/zcrx.h+7 -90 replies
12/20io_uring/zcrx: make niov size variableio_uring/zcrx.c io_uring/zcrx.h+21 -100 replies
13/20io_uring/zcrx: rename dma lockio_uring/zcrx.c io_uring/zcrx.h+10 -50 replies
14/20io_uring/zcrx: protect netdev with pp_lockio_uring/zcrx.c io_uring/zcrx.h+11 -130 replies
15/20io_uring/zcrx: reduce netmem scope in refillio_uring/zcrx.c+1 -10 replies
16/20io_uring/zcrx: use guards for the refill lockio_uring/zcrx.c+2 -50 replies
17/20io_uring/zcrx: don't adjust free cache spaceio_uring/zcrx.c+1 -10 replies
18/20io_uring/zcrx: introduce io_parse_rqe()io_uring/zcrx.c+23 -130 replies
19/20io_uring/zcrx: allow synchronous buffer returninclude/uapi/linux/io_uring.h io_uring/register.c io_uring/zcrx.c +1 more+90 -00 replies
20/20io_uring/zcrx: account niov arrays to cgroupio_uring/zcrx.c+3 -30 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 for-6.18 00/20] zcrx for-6.18 updates

A bunch of assorted zcrx patches for 6.18, which includes
- Improve refill entry alignment for better caching (Patch 1)
- Various cleanups, especially around deduplicating normal memory vs dmabuf setup.
- Generalisation of the niov size (Patch 12). It's still hard coded to PAGE_SIZE on init, but will let the user to specify the rx buffer length on setup.
- Syscall / synchronous bufer return (Patch 19). It'll be used as a slow fallback path for returning buffers when the refill queue is full. Useful for tolerating slight queue size misconfiguration or with inconsistent load.
- Accounting more memory to cgroups (Patch 20)
- Additional independent cleanups that will also be useful for mutli-area support.

Pavel Begunkov (20):
io_uring/zcrx: improve rqe cache alignment io_uring/zcrx: replace memchar_inv with is_zero io_uring/zcrx: use page_pool_unref_and_test() io_uring/zcrx: remove extra io_zcrx_drop_netdev io_uring/zcrx: don't pass slot to io_zcrx_create_area io_uring/zcrx: move area reg checks into io_import_area io_uring/zcrx: check all niovs filled with dma addresses io_uring/zcrx: pass ifq to io_zcrx_alloc_fallback() io_uring/zcrx: deduplicate area mapping io_uring/zcrx: remove dmabuf_offset io_uring/zcrx: set sgt for umem area io_uring/zcrx: make niov size variable io_uring/zcrx: rename dma lock
io_uring/zcrx: protect netdev with pp_lock io_uring/zcrx: reduce netmem scope in refill io_uring/zcrx: use guards for the refill lock io_uring/zcrx: don't adjust free cache space io_uring/zcrx: introduce io_parse_rqe() io_uring/zcrx: allow synchronous buffer return io_uring/zcrx: account niov arrays to cgroup

 include/uapi/linux/io_uring.h |  12 ++
 io_uring/register.c           |   3 +
 io_uring/zcrx.c               | 285 +++++++++++++++++++++-------------
 io_uring/zcrx.h               |  19 ++-
 4 files changed, 211 insertions(+), 108 deletions(-)
Signature · 1 line
2.49.0