[PATCH liburing v2 0/3] zcrx: add support for notifications and statistic
Clément Léger <[email protected]>
| Newsgroups | org.kernel.vger.io-uring |
|---|---|
| Message-ID | <[email protected]> |
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(-) -- Clément Léger