linux/drivers/vdpa
Eli Cohen b2ae0a2db8 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: 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-4-elic@nvidia.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
2021-04-09 12:08:27 -04:00
..
ifcvf vdpa: set the virtqueue num during register 2021-02-25 14:26:00 -05:00
mlx5 vdpa/mlx5: Retrieve BAR address suitable any function 2021-04-09 12:08:27 -04:00
vdpa_sim vdpa_sim: Skip typecasting from void* 2021-03-14 04:37:36 -04:00
Kconfig vdpa: Define vdpa mgmt device, ops and a netlink interface 2021-02-23 07:52:56 -05:00
Makefile vdpa/mlx5: Add support library for mlx5 VDPA implementation 2020-08-05 19:00:23 -04:00
vdpa.c vdpa: set the virtqueue num during register 2021-02-25 14:26:00 -05:00