summaryrefslogtreecommitdiff
path: root/src/include/liburing/io_uring.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2019-10-04 13:29:15 -0600
committerJens Axboe <axboe@kernel.dk>2019-10-04 13:29:15 -0600
commit096f4d0422329aec948f845bd327e26cfb9ddce0 (patch)
tree990677ef691f499c07d4ac6e1dd2c99c1b1d25c4 /src/include/liburing/io_uring.h
parent62cab776274862842d21984b583ed54cee5cd0f2 (diff)
downloadliburing-096f4d0422329aec948f845bd327e26cfb9ddce0.tar.gz
liburing-096f4d0422329aec948f845bd327e26cfb9ddce0.tar.bz2
io_uring.h: add IORING_SETUP_CQSIZE
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'src/include/liburing/io_uring.h')
-rw-r--r--src/include/liburing/io_uring.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/liburing/io_uring.h b/src/include/liburing/io_uring.h
index 4f532d9..e0137ea 100644
--- a/src/include/liburing/io_uring.h
+++ b/src/include/liburing/io_uring.h
@@ -50,6 +50,7 @@ struct io_uring_sqe {
#define IORING_SETUP_IOPOLL (1U << 0) /* io_context is polled */
#define IORING_SETUP_SQPOLL (1U << 1) /* SQ poll thread */
#define IORING_SETUP_SQ_AFF (1U << 2) /* sq_thread_cpu is valid */
+#define IORING_SETUP_CQSIZE (1U << 3) /* app defines CQ size */
#define IORING_OP_NOP 0
#define IORING_OP_READV 1