Message ID | 20220630091422.1463570-3-dylany@fb.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | liburing: multishot receive | expand |
diff --git a/src/include/liburing/io_uring.h b/src/include/liburing/io_uring.h index 0fd1f98..de42c54 100644 --- a/src/include/liburing/io_uring.h +++ b/src/include/liburing/io_uring.h @@ -244,8 +244,13 @@ enum io_uring_op { * or receive and arm poll if that yields an * -EAGAIN result, arm poll upfront and skip * the initial transfer attempt. + * + * IORING_RECV_MULTISHOT Multishot recv. Sets IORING_CQE_F_MORE if + * the handler will continue to report + * CQEs on behalf of the same SQE. */ #define IORING_RECVSEND_POLL_FIRST (1U << 0) +#define IORING_RECV_MULTISHOT (1U << 1) /* * accept flags stored in sqe->ioprio
copy relevant part from include/uapi/linux/io_uring.h from for-5.20/io_uring branch Signed-off-by: Dylan Yudaken <dylany@fb.com> --- src/include/liburing/io_uring.h | 5 +++++ 1 file changed, 5 insertions(+)