io_uring/query: return support for custom rx page size
authorPavel Begunkov <asml.silence@gmail.com>
Sun, 15 Feb 2026 21:34:28 +0000 (21:34 +0000)
committerJens Axboe <axboe@kernel.dk>
Sun, 15 Feb 2026 21:55:37 +0000 (14:55 -0700)
commitc29214677a9fc1a3a4ee65e189afeb5fd10d676f
treee9653fcfa851ec82231f5609fe7ac2e3a38d52c2
parent7496e658a76a61758b20e27cea8abcfeafe3aec4
io_uring/query: return support for custom rx page size

Add an ability to query if the zcrx rx page size setting is available.

Note, even when the API is supported by io_uring, the registration can
still get rejected for various reasons, e.g. when the NIC or the driver
doesn't support it, when the particular specified size is unsupported,
when the memory area doesn't satisfy all requirements, etc.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/uapi/linux/io_uring.h
include/uapi/linux/io_uring/query.h
io_uring/query.c