linux/drivers/vdpa
Eli Cohen d13a15d544 vdpa/mlx5: Use the correct dma device when registering memory
In cases where the vdpa instance uses a SF (sub function), the DMA
device is the parent device. Use a function to retrieve the correct DMA
device.

Fixes: 1958fc2f07 ("net/mlx5: SF, Add auxiliary device driver")
Signed-off-by: Eli Cohen <elic@nvidia.com>
Reviewed-by: Parav Pandit <parav@nvidia.com>
Link: https://lore.kernel.org/r/20210408091047.4269-3-elic@nvidia.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
2021-04-09 12:08:27 -04:00
..
ifcvf vdpa: set the virtqueue num during register 2021-02-25 14:26:00 -05:00
mlx5 vdpa/mlx5: Use the correct dma device when registering memory 2021-04-09 12:08:27 -04:00
vdpa_sim vdpa_sim: Skip typecasting from void* 2021-03-14 04:37:36 -04:00
Kconfig vdpa: Define vdpa mgmt device, ops and a netlink interface 2021-02-23 07:52:56 -05:00
Makefile vdpa/mlx5: Add support library for mlx5 VDPA implementation 2020-08-05 19:00:23 -04:00
vdpa.c vdpa: set the virtqueue num during register 2021-02-25 14:26:00 -05:00