]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
io_uring/zcrx: add support for custom DMA devices
authorDragos Tatulea <dtatulea@nvidia.com>
Wed, 27 Aug 2025 14:39:56 +0000 (17:39 +0300)
committerJakub Kicinski <kuba@kernel.org>
Thu, 28 Aug 2025 23:05:31 +0000 (16:05 -0700)
commit59b8b32ac8d469958936fcea781c7f58e3d64742
treedbf45074ac7e35524c5807addfe4fd0fb9d4e70b
parent13d8e05adf9dd06c74fcc6ba42ec4bf780fd557f
io_uring/zcrx: add support for custom DMA devices

Use the new API for getting a DMA device for a specific netdev queue.

This patch will allow io_uring zero-copy rx to work with devices
where the DMA device is not stored in the parent device. mlx5 SFs
are an example of such a device.

Signed-off-by: Dragos Tatulea <dtatulea@nvidia.com>
Reviewed-by: Mina Almasry <almasrymina@google.com>
Reviewed-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://patch.msgid.link/20250827144017.1529208-4-dtatulea@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
io_uring/zcrx.c