Re: [PATCH 3/5] vdpa/mlx5: Retrieve BAR address suitable any function

2021-04-08 Thread Jason Wang
在 2021/4/8 下午5:10, Eli Cohen 写道: 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 Review

[PATCH 3/5] vdpa/mlx5: Retrieve BAR address suitable any function

2021-04-08 Thread Eli Cohen
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 Reviewed-by: Parav Pandit --- drivers/vdp