summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2022-05-14 15:31:58 -0600
committerJens Axboe <axboe@kernel.dk>2022-05-14 15:31:58 -0600
commit36d6378c70e682bbacb4625c4ae1b72e4435c8da (patch)
tree7b04b85f9e2525188bde9e988e64903dc7cec799
parent961bfbda2d4b6995d598dd2bf59176aa738a9cd1 (diff)
downloadliburing-36d6378c70e682bbacb4625c4ae1b72e4435c8da.tar.gz
liburing-36d6378c70e682bbacb4625c4ae1b72e4435c8da.tar.bz2
io_uring.h: add IORING_CQE_F_SOCK_NONEMPTY
Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r--src/include/liburing/io_uring.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/liburing/io_uring.h b/src/include/liburing/io_uring.h
index c9b3593..fac6518 100644
--- a/src/include/liburing/io_uring.h
+++ b/src/include/liburing/io_uring.h
@@ -217,9 +217,11 @@ struct io_uring_cqe {
*
* IORING_CQE_F_BUFFER If set, the upper 16 bits are the buffer ID
* IORING_CQE_F_MORE If set, parent SQE will generate more CQE entries
+ * IORING_CQE_F_SOCK_NONEMPTY If set, more data to read after socket recv
*/
#define IORING_CQE_F_BUFFER (1U << 0)
#define IORING_CQE_F_MORE (1U << 1)
+#define IORING_CQE_F_SOCK_NONEMPTY (1U << 2)
enum {
IORING_CQE_BUFFER_SHIFT = 16,