Skip to content

Add recvmsg bundle test and man documentation

Clément Léger io-uring 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2test: add recvmsg bundle testtest/Makefile test/recvmsg-bundle.c+1314 -01 reply
2/2man/io_uring_prep_recvmsg.3: document recvmsg bundlesman/io_uring_prep_recvmsg.3+27 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH liburing 0/2] Add recvmsg bundle test and man documentation

The kernel is gaining support for IORING_RECVSEND_BUNDLE with IORING_OP_RECVMSG. Single shot requests return the name and control data through the msghdr and receive the payload across the bundle, while multishot requests reserve the envelope and control data at the front of the first buffer of a bundle, the payload spilling over into the following buffers.

The first patch adds a test for both variants, and the second one documents bundle support in the recvmsg man page.

Clément Léger (2):
test: add recvmsg bundle test man/io_uring_prep_recvmsg.3: document recvmsg bundles

 man/io_uring_prep_recvmsg.3 |   27 +
 test/Makefile               |    1 +
 test/recvmsg-bundle.c       | 1313 +++++++++++++++++++++++++++++++++++
 3 files changed, 1341 insertions(+)
 create mode 100644 test/recvmsg-bundle.c
Signature · 1 line
Clément Léger