summaryrefslogtreecommitdiff
path: root/tools/testing/radix-tree/xarray.c
diff options
context:
space:
mode:
authorEli Cohen <elic@nvidia.com>2021-04-08 12:10:44 +0300
committerMichael S. Tsirkin <mst@redhat.com>2021-04-09 19:08:27 +0300
commitd13a15d544ce51c0d83744ccb638c954e645feea (patch)
tree52dd86562d0d0ef63dede16bca43af92237d2098 /tools/testing/radix-tree/xarray.c
parentd084d996aaf53c0cc583dc75a4fc2a67fe485846 (diff)
downloadlinux-d13a15d544ce51c0d83744ccb638c954e645feea.tar.xz
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: 1958fc2f0712 ("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>
Diffstat (limited to 'tools/testing/radix-tree/xarray.c')
0 files changed, 0 insertions, 0 deletions