Searched refs:mlx5_core_is_pf (Results 1 – 12 of 12) sorted by relevance
259 if (!mlx5_core_is_pf(dev) || !pci_num_vf(dev->pdev)) in mlx5_sriov_attach()268 if (!mlx5_core_is_pf(dev)) in mlx5_sriov_detach()303 if (!mlx5_core_is_pf(dev)) in mlx5_sriov_init()324 if (!mlx5_core_is_pf(dev)) in mlx5_sriov_cleanup()
101 if (!MLX5_CAP_GEN(dev, vport_group_manager) || !mlx5_core_is_pf(dev)) in mlx5_set_msix_vec_count()
826 if (!mlx5_core_is_pf(dev)) in set_hca_ctrl() 1163 if (mlx5_core_is_pf(dev)) in mlx5_function_enable()
2691 u16 port_aff_bias = mlx5_core_is_pf(mdev) ? 0 : MLX5_CAP_GEN(mdev, vhca_id); in mlx5e_enumerate_lag_port()
84 if (!mlx5_core_is_pf(dev) || !mlx5_vsc_accessible(dev) || in mlx5_crdump_enable()
151 if (!MLX5_CAP_ETH(mdev, tunnel_stateless_vxlan) || !mlx5_core_is_pf(mdev)) in mlx5_vxlan_create()
60 if (!mlx5_core_is_pf(dev)) in mlx5_pci_vsc_init()
158 if (!mlx5_core_is_pf(dev)) in sd_init()
1213 static inline bool mlx5_core_is_pf(const struct mlx5_core_dev *dev) in mlx5_core_is_pf() function1242 return mlx5_core_is_pf(dev) && MLX5_CAP_ESW(dev, ecpf_vport_exists); in mlx5_ecpf_vport_exists()
2114 peer_vport = vhca_id_valid && mlx5_core_is_pf(dmn->mdev) && in mlx5dr_action_create_dest_vport()
923 !dev->is_rep && mlx5_core_is_pf(dev->mdev) && in mlx5r_cache_create_ent_locked()
4688 if (mlx5_core_is_pf(mdev)) in mlx5_ib_stage_caps_init()