io_uring: add mshot helper for posting CQE32
authorPavel Begunkov <asml.silence@gmail.com>
Mon, 16 Jun 2025 09:46:28 +0000 (10:46 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 23 Jun 2025 15:00:12 +0000 (09:00 -0600)
commitac479eac22e81c0ff56c6bdb93fad787015149cc
tree93bae68c866c6f3fbd77e0bb5dd17ccb6ee6ba42
parentb95575495948a81ac9b0110aa721ea061dd850d9
io_uring: add mshot helper for posting CQE32

Add a helper for posting 32 byte CQEs in a multishot mode and add a cmd
helper on top. As it specifically works with requests, the helper ignore
the passed in cqe->user_data and sets it to the one stored in the
request.

The command helper is only valid with multishot requests.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/c29d7720c16e1f981cfaa903df187138baa3946b.1750065793.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/io_uring.c
io_uring/io_uring.h
io_uring/uring_cmd.c
io_uring/uring_cmd.h