diff options
author | robot-contrib <robot-contrib@yandex-team.com> | 2023-11-11 02:21:37 +0300 |
---|---|---|
committer | robot-contrib <robot-contrib@yandex-team.com> | 2023-11-11 02:40:39 +0300 |
commit | c9eb66546bc5c72ff6a4424f5c73ada67d0aeaa8 (patch) | |
tree | 4a18f83f5979766f6a360805a97500e9b2beeb75 /contrib/libs/linux-headers/linux/io_uring.h | |
parent | 638336990198a7f36d43cfd21a42b25d9dcb6efc (diff) | |
download | ydb-c9eb66546bc5c72ff6a4424f5c73ada67d0aeaa8.tar.gz |
Update contrib/libs/linux-headers to 6.5.9
Diffstat (limited to 'contrib/libs/linux-headers/linux/io_uring.h')
-rw-r--r-- | contrib/libs/linux-headers/linux/io_uring.h | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/contrib/libs/linux-headers/linux/io_uring.h b/contrib/libs/linux-headers/linux/io_uring.h index 0716cb17e4..08720c7bd9 100644 --- a/contrib/libs/linux-headers/linux/io_uring.h +++ b/contrib/libs/linux-headers/linux/io_uring.h @@ -173,6 +173,18 @@ enum { */ #define IORING_SETUP_DEFER_TASKRUN (1U << 13) +/* + * Application provides the memory for the rings + */ +#define IORING_SETUP_NO_MMAP (1U << 14) + +/* + * Register the ring fd in itself for use with + * IORING_REGISTER_USE_REGISTERED_RING; return a registered fd index rather + * than an fd. + */ +#define IORING_SETUP_REGISTERED_FD_ONLY (1U << 15) + enum io_uring_op { IORING_OP_NOP, IORING_OP_READV, @@ -232,8 +244,10 @@ enum io_uring_op { * sqe->uring_cmd_flags * IORING_URING_CMD_FIXED use registered buffer; pass this flag * along with setting sqe->buf_index. + * IORING_URING_CMD_POLLED driver use only */ #define IORING_URING_CMD_FIXED (1U << 0) +#define IORING_URING_CMD_POLLED (1U << 31) /* @@ -406,7 +420,7 @@ struct io_sqring_offsets { __u32 dropped; __u32 array; __u32 resv1; - __u64 resv2; + __u64 user_addr; }; /* @@ -425,7 +439,7 @@ struct io_cqring_offsets { __u32 cqes; __u32 flags; __u32 resv1; - __u64 resv2; + __u64 user_addr; }; /* |