Skip to content

RFC zcrx mapping cleanups and device-less instances

Pavel Begunkov io-uring netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4io_uring/zcrx: fully clean area on error in io_import_umem()io_uring/zcrx.c+10 -60 replies
2/4io_uring/zcrx: always dma map in advanceio_uring/zcrx.c+15 -290 replies
3/4io_uring/zcrx: extract netdev+area init into a helperio_uring/zcrx.c+42 -280 replies
4/4io_uring/zcrx: implement device-less mode for zcrxinclude/uapi/linux/io_uring/zcrx.h io_uring/zcrx.c io_uring/zcrx.h+36 -160 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC io_uring review-only 0/4] zcrx mapping cleanups and device-less instances

First two patches move user memory DMA map creation to an earlier point, which makes it more uniform among different memory types and easier to manage. Patches 3 and 4 introduce device-less zcrx instances for testing purposes, which always copy data via the fallback path.

note, based on two other recently sent patches splitting out a uapi file and defining constants in zcrx.h

Pavel Begunkov (4):
io_uring/zcrx: fully clean area on error in io_import_umem() io_uring/zcrx: always dma map in advance io_uring/zcrx: extract netdev+area init into a helper io_uring/zcrx: implement device-less mode for zcrx

 include/uapi/linux/io_uring/zcrx.h |   9 +-
 io_uring/zcrx.c                    | 145 ++++++++++++++++-------------
 io_uring/zcrx.h                    |   2 +-
 3 files changed, 90 insertions(+), 66 deletions(-)
Signature · 1 line
2.52.0