diff options
author | Eli Cohen <[email protected]> | 2021-04-08 12:10:44 +0300 |
---|---|---|
committer | Michael S. Tsirkin <[email protected]> | 2021-04-09 12:08:27 -0400 |
commit | d13a15d544ce51c0d83744ccb638c954e645feea (patch) | |
tree | 52dd86562d0d0ef63dede16bca43af92237d2098 /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | d084d996aaf53c0cc583dc75a4fc2a67fe485846 (diff) |
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 <[email protected]>
Reviewed-by: Parav Pandit <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Michael S. Tsirkin <[email protected]>
Acked-by: Jason Wang <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions