]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: Proxy netdev_queue_get_dma_dev for leased queues
authorDavid Wei <dw@davidwei.uk>
Thu, 15 Jan 2026 08:25:53 +0000 (09:25 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 20 Jan 2026 10:58:49 +0000 (11:58 +0100)
commit804bf334d08aeceda1c39f4e26d7eda802b63a33
tree5263b4cfccd15ec1185db21ae444f2a33a029d0f
parent0caa9a8ddec3bf87bffb0eb99635068ddddce35d
net: Proxy netdev_queue_get_dma_dev for leased queues

Extend netdev_queue_get_dma_dev to return the physical device of the
real rxq for DMA in case the queue was leased. This allows memory
providers like io_uring zero-copy or devmem to bind to the physically
leased rxq via virtual devices such as netkit.

Signed-off-by: David Wei <dw@davidwei.uk>
Co-developed-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Stanislav Fomichev <sdf@fomichev.me>
Reviewed-by: Nikolay Aleksandrov <razor@blackwall.org>
Link: https://patch.msgid.link/20260115082603.219152-7-daniel@iogearbox.net
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
net/core/netdev_queues.c