Searched refs:MLX5_TOTAL_VPORTS (Results 1 – 6 of 6) sorted by relevance
101 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()
2046 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()
1230 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()
850 int total_vfs = MLX5_TOTAL_VPORTS(esw->dev); in esw_offloads_init_reps()
1694 int total_vports = MLX5_TOTAL_VPORTS(dev); in mlx5_eswitch_init()
1271 #define MLX5_TOTAL_VPORTS(mdev) (1 + pci_sriov_get_totalvfs((mdev)->pdev)) macro