]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
io_uring/zcrx: share an ifq between rings
authorDavid Wei <dw@davidwei.uk>
Thu, 13 Nov 2025 10:46:18 +0000 (10:46 +0000)
committerJens Axboe <axboe@kernel.dk>
Thu, 13 Nov 2025 18:19:37 +0000 (11:19 -0700)
commit00d91481279fb2df8c46d19090578afd523ca630
treebaa178531cca0afd991d31e34f9df8326d1b8e96
parent0926f94ab36a6d76d07fa8f0934e65f5f66647ec
io_uring/zcrx: share an ifq between rings

Add a way to share an ifq from a src ring that is real (i.e. bound to a
HW RX queue) with other rings. This is done by passing a new flag
IORING_ZCRX_IFQ_REG_IMPORT in the registration struct
io_uring_zcrx_ifq_reg, alongside the fd of an exported zcrx ifq.

Signed-off-by: David Wei <dw@davidwei.uk>
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/uapi/linux/io_uring.h
io_uring/zcrx.c