Skip to content

IORING_OP_BIND/LISTEN support

Gabriel Krisman Bertazi io-uring 2 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 1 replyApplied
  2. v1 RFC5 patches 2 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/5liburing: Add helper to prepare IORING_OP_BIND commandsrc/include/liburing.h src/include/liburing/io_uring.h src/liburing-ffi.map+9 -00 replies
2/5liburing: Add helper to prepare IORING_OP_LISTEN commandsrc/include/liburing.h src/include/liburing/io_uring.h src/liburing-ffi.map+8 -00 replies
3/5tests: Add test for bind/listen commandstest/Makefile test/bind-listen.c+382 -00 replies
4/5man/io_uring_prep_bind.3: Document the IORING_OP_BIND operationman/io_uring_prep_bind.3+54 -00 replies
5/5man/io_uring_prep_listen.3: Document IORING_OP_LISTEN operationman/io_uring_prep_listen.3+52 -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/5] IORING_OP_BIND/LISTEN support

This is the v2 of userspace support for OP_BIND/OP_LISTEN with wrappers, manpages and tests.

Beyond the requested fixes in v1, I completely rewrote the testcase to avoid pthreads and introduced more test cases. It also ensures the testcase is properly skipped for older kernels.

Gabriel Krisman Bertazi (5):
liburing: Add helper to prepare IORING_OP_BIND command
liburing: Add helper to prepare IORING_OP_LISTEN command
tests: Add test for bind/listen commands man/io_uring_prep_bind.3: Document the IORING_OP_BIND operation man/io_uring_prep_listen.3: Document IORING_OP_LISTEN operation

 man/io_uring_prep_bind.3        |  54 +++++
 man/io_uring_prep_listen.3      |  52 +++++
 src/include/liburing.h          |  13 ++
 src/include/liburing/io_uring.h |   2 +
 src/liburing-ffi.map            |   2 +
 test/Makefile                   |   1 +
 test/bind-listen.c              | 381 ++++++++++++++++++++++++++++++++
 7 files changed, 505 insertions(+)
 create mode 100644 man/io_uring_prep_bind.3
 create mode 100644 man/io_uring_prep_listen.3
 create mode 100644 test/bind-listen.c
Signature · 1 line
2.45.2