@@ -60,6 +60,21 @@ operation. If set, the socket still had data to be read after the operation
completed. Both these flags are available since 5.19.
.P
+.TP
+.B IORING_RECV_MULTISHOT
+If set, io_uring will post a new CQE whenever data is available to read.
+The CQE will try and fill a provided buffer.
+The
+.B IORING_CQE_F_MORE
+flag will be set if the receive is still active and more CQEs will be posted.
+
+It is required that the
+.B IOSQE_BUFFER_SELECT
+flag is set and that
+.B MSG_WAITALL
+is not set.
+.P
+
.SH RETURN VALUE
None
.SH ERRORS
@@ -61,6 +61,21 @@ operation. If set, the socket still had data to be read after the operation
completed. Both these flags are available since 5.19.
.P
+.TP
+.B IORING_RECV_MULTISHOT
+If set, io_uring will post a new CQE whenever data is available to read.
+The CQE will try and fill a provided buffer.
+The
+.B IORING_CQE_F_MORE
+flag will be set if the receive is still active and more CQEs will be posted.
+
+It is required that the
+.B IOSQE_BUFFER_SELECT
+flag is set and that
+.B MSG_WAITALL
+is not set.
+.P
+
.SH RETURN VALUE
None
.SH ERRORS
add appropriate docs to io_uring_prep_recvmsg/io_uring_prep_recv man pages Signed-off-by: Dylan Yudaken <dylany@fb.com> --- man/io_uring_prep_recv.3 | 15 +++++++++++++++ man/io_uring_prep_recvmsg.3 | 15 +++++++++++++++ 2 files changed, 30 insertions(+)