forked from Minki/linux
7d23dcdf21
Before SF support was introduced, the DMA device was equal to
mdev->device which was in essence equal to pdev->dev.
With SF introduction this is no longer true. It has already been
handled for vhost_vdpa since the reference to the dma device can from
within mlx5_vdpa. With virtio_vdpa this broke. To fix this we set the
real dma device when initializing the device.
In addition, for the sake of consistency, previous references in the
code to the dma device are changed to vdev->dma_dev.
Fixes:
|
||
---|---|---|
.. | ||
ifcvf | ||
mlx5 | ||
vdpa_sim | ||
virtio_pci | ||
Kconfig | ||
Makefile | ||
vdpa.c |