Re: [PATCH net-next 16/19] net/mlx5: Implement dma ops and params for mediated device

Christoph Hellwig
2019-11-08T06:37:37Z

On Thu, Nov 07, 2019 at 10:08:31AM -0600, Parav Pandit wrote:
> Implement dma ops wrapper to divert dma ops to its parent PCI device
> because Intel IOMMU (and may be other IOMMU) is limited to PCI devices.

Yikes. I've been trying hard to get rid of pointless dma_map_ops
instance. What upper layers use these child devices, and why can't
they just use the parent device for dma mapping directly?