summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDragos Tatulea <dtatulea@nvidia.com>2025-08-27 17:39:58 +0300
committerJakub Kicinski <kuba@kernel.org>2025-08-28 16:05:31 -0700
commitf1debf1a2ef44ca1baa15a0cc088cb2be1f95449 (patch)
treec98d8c0a7a25abec8ba959aaef00bbb288d62842 /lib
parent7c7e94603a76d62efbc4da4d0eb7a221add0ecfa (diff)
net/mlx5e: add op for getting netdev DMA device
For zero-copy (devmem, io_uring), the netdev DMA device used is the parent device of the net device. However that is not always accurate for mlx5 devices: - SFs: The parent device is an auxdev. - Multi-PF netdevs: The DMA device should be determined by the queue. This change implements the DMA device queue API that returns the DMA device appropriately for all cases. Signed-off-by: Dragos Tatulea <dtatulea@nvidia.com> Reviewed-by: Mina Almasry <almasrymina@google.com> Link: https://patch.msgid.link/20250827144017.1529208-6-dtatulea@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions