Skip to content

RFC io_uring zc notification tag override

Pavel Begunkov io-uring 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2io_uring/notif: change notif CQE uapi formatinclude/uapi/linux/io_uring.h io_uring/notif.c+8 -21 reply
2/2io_uring/net: allow to override notification taginclude/uapi/linux/io_uring.h io_uring/net.c+9 -110 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC 0/2] io_uring zc notification tag override

Following up user feedback, we'd better to have a way to set a notification tag on the fly comparing to statically at the registration time at it's currently implemented. Add a feature to allow to copy send_sqe->user_data into the notification it's flushing.

With 1/2 we can also add a cqe flag for when it fallback from zerocopy to normal copy execution.

A git branch for convenience:
https://github.com/isilence/linux.git zc-override-tag

https://github.com/isilence/linux/tree/net/zc-override-tag

Pavel Begunkov (2):
io_uring/notif: change notif CQE uapi format io_uring/net: allow to override notification tag

 include/uapi/linux/io_uring.h | 10 ++++++++++
 io_uring/net.c                |  6 +++++-
 io_uring/notif.c              |  4 ++--
 3 files changed, 17 insertions(+), 3 deletions(-)
Signature · 1 line
2.37.0