aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorEli Cohen <[email protected]>2021-04-08 12:10:45 +0300
committerMichael S. Tsirkin <[email protected]>2021-04-09 12:08:27 -0400
commitb2ae0a2db8a2d42a643590c4935faf61fedf553b (patch)
tree75ec0de8cc271f8f3d74c5773516dd8263c2cc4c /tools/testing/selftests/bpf/progs/test_autoload.c
parentd13a15d544ce51c0d83744ccb638c954e645feea (diff)
vdpa/mlx5: Retrieve BAR address suitable any function
struct mlx5_core_dev has a bar_addr field that contains the correct bar address for the function regardless of whether it is pci function or sub function. Use it. 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