]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: devmem: pull out dma_dev out of net_devmem_bind_dmabuf
authorDragos Tatulea <dtatulea@nvidia.com>
Wed, 27 Aug 2025 14:39:59 +0000 (17:39 +0300)
committerJakub Kicinski <kuba@kernel.org>
Thu, 28 Aug 2025 23:05:32 +0000 (16:05 -0700)
commit512c88fb0e884cbb4c495b8f3351a9185d1d50b1
tree67ad862e10150b40a7c6efdf558b6a1a2c71819f
parentf1debf1a2ef44ca1baa15a0cc088cb2be1f95449
net: devmem: pull out dma_dev out of net_devmem_bind_dmabuf

Fetch the DMA device before calling net_devmem_bind_dmabuf()
and pass it on as a parameter.

This is needed for an upcoming change which will read the
DMA device per queue.

This patch has no functional changes.

Signed-off-by: Dragos Tatulea <dtatulea@nvidia.com>
Reviewed-by: Mina Almasry <almasrymina@google.com>
Link: https://patch.msgid.link/20250827144017.1529208-7-dtatulea@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/core/devmem.c
net/core/devmem.h
net/core/netdev-genl.c