Skip to content

zcrx: add support for notifications and statistic

Clément Léger io-uring 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 0 repliesNew
  2. v13 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- Update kernel structure after padding/reserved changes
- Update test/example to use interface with a single event type rather than a mask.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Update uapi headers to add ZCRX notificationsrc/include/liburing/io_uring.h src/include/liburing/io_uring/query.h+47 -10 replies
2/3test/zcrx: add ZCRX notification/stats teststest/zcrx.c+376 -00 replies
3/3examples/zcrx: add notification supportexamples/zcrx.c+110 -00 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH liburing v2 0/3] zcrx: add support for notifications and statistic

Add support for io_uring notifications and statistics. This allows to receive CQE notifications upon out of buffers or when copy fallback is used to copy packets. An associated stat structure is also supported and allows to track copy fallback statistics without requiring the user to handle notifications CQEs.

Changes in v2:
- Update kernel structure after padding/reserved changes
- Update test/example to use interface with a single event type rather than a mask.

Clément Léger (3):
Update uapi headers to add ZCRX notification
test/zcrx: add ZCRX notification/stats tests
examples/zcrx: add notification support

 examples/zcrx.c                       | 110 ++++++++
 src/include/liburing/io_uring.h       |  36 ++-
 src/include/liburing/io_uring/query.h |  12 +
 test/zcrx.c                           | 376 ++++++++++++++++++++++++++
 4 files changed, 533 insertions(+), 1 deletion(-)
Signature · 1 line
Clément Léger