anolis-cloud-kernel/drivers/vdpa
Eli Cohen 0e898caf64 vdpa/mlx5: Use the correct dma device when registering memory
ANBZ: #5737

commit d13a15d544 upstream.

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>
Signed-off-by: Dust Li <dust.li@linux.alibaba.com>
Link: https://gitee.com/anolis/cloud-kernel/pulls/1827
2023-07-04 11:10:18 +00:00
..
ifcvf
mlx5 vdpa/mlx5: Use the correct dma device when registering memory 2023-07-04 11:10:18 +00:00
vdpa_sim vdpasim: allow to enable a vq repeatedly 2022-06-09 10:21:29 +02:00
Kconfig
Makefile
vdpa.c