io_uring.h: add IORING_SETUP_SQE128 and IORING_SETUP_CQE32
authorAnuj Gupta <anuj20.g@samsung.com>
Tue, 31 May 2022 13:31:47 +0000 (19:01 +0530)
committerJens Axboe <axboe@kernel.dk>
Thu, 2 Jun 2022 08:19:41 +0000 (02:19 -0600)
commit1bca8ad1e18249f13ef532947e0ce6a88105290c
treede5e5134e29a4d560bb62c6c4b603b6f01d633c3
parent5ceed0be62f3ce8903d5747674f9f70f44e736d6
io_uring.h: add IORING_SETUP_SQE128 and IORING_SETUP_CQE32

This asks the kernel to setup a ring with 128-byte SQE and
32-byte CQE entries. It may fail with -EINVAL if the kernel
doesn't support this feature. If the kernel does support this
feature, then the ring will support big-sqe/big-cqe entries
which some commands may require.

Signed-off-by: Anuj Gupta <anuj20.g@samsung.com>
Link: https://lore.kernel.org/r/20220531133155.17493-2-ankit.kumar@samsung.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
os/linux/io_uring.h