Searched refs:mlx5_core_is_pf (Results 1 – 16 of 16) sorted by relevance
232 if (!mlx5_core_is_pf(dev) || !pci_num_vf(dev->pdev)) in mlx5_sriov_attach()241 if (!mlx5_core_is_pf(dev)) in mlx5_sriov_detach()277 if (!mlx5_core_is_pf(dev)) in mlx5_sriov_init()297 if (!mlx5_core_is_pf(dev)) in mlx5_sriov_cleanup()
125 if (mlx5_core_is_pf(dev)) in mlx5_vnet_supported()575 if (!mlx5_core_is_pf(mdev)) in _next_phys_dev()618 if (!mlx5_core_is_pf(dev)) in mlx5_get_next_dev()
146 if (!mlx5_core_is_pf(dev)) in lock_sem_sw_reset()639 if (!mlx5_core_is_pf(dev)) in mlx5_fw_fatal_reporter_dump()718 } else if (mlx5_core_is_pf(dev)) { in mlx5_fw_reporters_create()880 if (mlx5_core_is_pf(dev) && MLX5_CAP_MCAM_REG(dev, mrtc)) in mlx5_start_health_fw_log_up()
85 if (!MLX5_CAP_GEN(dev, vport_group_manager) || !mlx5_core_is_pf(dev)) in mlx5_set_msix_vec_count()
763 if (!mlx5_core_is_pf(dev)) in set_hca_ctrl()1103 if (mlx5_core_is_pf(dev)) in mlx5_function_setup()
2351 u16 port_aff_bias = mlx5_core_is_pf(mdev) ? 0 : MLX5_CAP_GEN(mdev, vhca_id); in mlx5e_enumerate_lag_port()
81 if (!mlx5_core_is_pf(dev) || !mlx5_vsc_accessible(dev) || in mlx5_crdump_enable()
26 if (mlx5_core_is_pf(priv->mdev)) { in mlx5e_devlink_port_register()
151 if (!MLX5_CAP_ETH(mdev, tunnel_stateless_vxlan) || !mlx5_core_is_pf(mdev)) in mlx5_vxlan_create()
75 if (!mlx5_core_is_pf(dev)) in mlx5_devcom_register_device()
55 if (!mlx5_core_is_pf(dev)) in mlx5_pci_vsc_init()
42 mlx5_core_is_pf(mdev))
1195 static inline bool mlx5_core_is_pf(const struct mlx5_core_dev *dev) in mlx5_core_is_pf() function1218 return mlx5_core_is_pf(dev) && MLX5_CAP_ESW(dev, ecpf_vport_exists); in mlx5_ecpf_vport_exists()
221 if (mlx5_core_is_pf(dev->mdev)) in mlx5_ib_test_wc()
772 !dev->is_rep && mlx5_core_is_pf(dev->mdev) && in mlx5_mkey_cache_init()
3818 if (mlx5_core_is_pf(mdev)) in mlx5_ib_stage_caps_init()