mbox series

[RFC,liburing,0/5] IORING_OP_BIND/LISTEN support

Message ID 20240604000417.16137-1-krisman@suse.de (mailing list archive)
Headers show
Series IORING_OP_BIND/LISTEN support | expand

Message

Gabriel Krisman Bertazi June 4, 2024, 12:04 a.m. UTC
Hi,

As promised, this is the userspace side of the IORING_OP_BIND/LISTEN
patches.

I decided to write a separate test instead of integrating in
i.e. socket.c Let me know if you prefer I merge it to some existing
testcase.

Keeping as an RFC for now, until we have the kernel side ready.

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 +
 test/Makefile                   |   1 +
 test/bind-listen.c              | 231 ++++++++++++++++++++++++++++++++
 6 files changed, 353 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