summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2022-03-24 06:56:45 -0600
committerJens Axboe <axboe@kernel.dk>2022-03-24 06:56:45 -0600
commit68c8759abcbff6262e7aa758beec3c9f5696ee46 (patch)
tree9517f5a74d4e9e09d4b2d8f60157c390b1873a99
parentda46d0b897c2da8cb5494e3e8f1127f183f11c77 (diff)
downloadliburing-68c8759abcbff6262e7aa758beec3c9f5696ee46.tar.gz
liburing-68c8759abcbff6262e7aa758beec3c9f5696ee46.tar.bz2
Remove IORING_CQE_F_MSG
Remove it from the io_uring_prep_msg_ring.3 man page as it's no longer being set by the kernel, and remove the definition and comment from the kernel header. Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r--man/io_uring_prep_msg_ring.37
-rw-r--r--src/include/liburing/io_uring.h2
2 files changed, 0 insertions, 9 deletions
diff --git a/man/io_uring_prep_msg_ring.3 b/man/io_uring_prep_msg_ring.3
index 7f03870..68699cb 100644
--- a/man/io_uring_prep_msg_ring.3
+++ b/man/io_uring_prep_msg_ring.3
@@ -47,13 +47,6 @@ fields. The use case may be anything from simply waking up someone waiting
on the targeted ring, or it can be used to pass messages between the two
rings.
-The resulting CQE posted on the target ring will have
-.B IORING_CQE_F_MSG
-set in its
-.I flags
-member, indicating to the target ring that this CQE is posted without having
-a relationship to an SQE issued on this ring.
-
.SH RETURN VALUE
None
diff --git a/src/include/liburing/io_uring.h b/src/include/liburing/io_uring.h
index 15516b7..d858977 100644
--- a/src/include/liburing/io_uring.h
+++ b/src/include/liburing/io_uring.h
@@ -205,11 +205,9 @@ 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_MSG If set, CQE was generated with IORING_OP_MSG_RING
*/
#define IORING_CQE_F_BUFFER (1U << 0)
#define IORING_CQE_F_MORE (1U << 1)
-#define IORING_CQE_F_MSG (1U << 2)
enum {
IORING_CQE_BUFFER_SHIFT = 16,