]> git.ipfire.org Git - thirdparty/linux.git/commit
io_uring/net: move io_sr_msg->retry_flags to io_sr_msg->flags
authorJens Axboe <axboe@kernel.dk>
Mon, 7 Jul 2025 22:54:12 +0000 (16:54 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 10 Jul 2025 17:54:22 +0000 (11:54 -0600)
commit3919b695932dd1990b5c7fd44fc52361f8e2ac5f
tree529d7297abe7b1520268f2578656dbc7c8aedcaa
parente227c8cdb47b586ebf20b6b4caca0a30bb7e6b68
io_uring/net: move io_sr_msg->retry_flags to io_sr_msg->flags

There's plenty of space left, as sr->flags is a 16-bit type. The UAPI
bits are the lower 8 bits, as that's all that sqe->ioprio can carry in
the SQE anyway. Use a few of the upper 8 bits for internal uses, rather
than have two separate flags entries.

Link: https://lore.kernel.org/io-uring/20250709203420.1321689-2-axboe@kernel.dk
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/net.c