Home
last modified time | relevance | path

Searched refs:MLX5_TOTAL_VPORTS (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/drivers/infiniband/hw/mlx5/
Dib_rep.c101 int total_vfs = MLX5_TOTAL_VPORTS(dev->mdev); in mlx5_ib_rep_register_vf_vports()
117 int total_vfs = MLX5_TOTAL_VPORTS(dev->mdev); in mlx5_ib_rep_unregister_vf_vports()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_core.c2046 if (!steering || vport >= MLX5_TOTAL_VPORTS(dev)) in mlx5_get_flow_vport_acl_namespace()
2362 for (i = 0; i < MLX5_TOTAL_VPORTS(dev); i++) in cleanup_egress_acls_root_ns()
2376 for (i = 0; i < MLX5_TOTAL_VPORTS(dev); i++) in cleanup_ingress_acls_root_ns()
2490 steering->esw_egress_root_ns = kcalloc(MLX5_TOTAL_VPORTS(dev), in init_egress_acls_root_ns()
2496 for (i = 0; i < MLX5_TOTAL_VPORTS(dev); i++) { in init_egress_acls_root_ns()
2517 steering->esw_ingress_root_ns = kcalloc(MLX5_TOTAL_VPORTS(dev), in init_ingress_acls_root_ns()
2523 for (i = 0; i < MLX5_TOTAL_VPORTS(dev); i++) { in init_ingress_acls_root_ns()
Den_rep.c1230 int total_vfs = MLX5_TOTAL_VPORTS(mdev); in mlx5e_rep_register_vf_vports()
1247 int total_vfs = MLX5_TOTAL_VPORTS(mdev); in mlx5e_rep_unregister_vf_vports()
Deswitch_offloads.c850 int total_vfs = MLX5_TOTAL_VPORTS(esw->dev); in esw_offloads_init_reps()
Deswitch.c1694 int total_vports = MLX5_TOTAL_VPORTS(dev); in mlx5_eswitch_init()
/Linux-v4.19/include/linux/mlx5/
Ddriver.h1271 #define MLX5_TOTAL_VPORTS(mdev) (1 + pci_sriov_get_totalvfs((mdev)->pdev)) macro