Home
last modified time | relevance | path

Searched refs:mlx5_core_is_pf (Results 1 – 13 of 13) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Dsriov.c183 if (!mlx5_core_is_pf(dev) || !pci_num_vf(dev->pdev)) in mlx5_sriov_attach()
192 if (!mlx5_core_is_pf(dev)) in mlx5_sriov_detach()
228 if (!mlx5_core_is_pf(dev)) in mlx5_sriov_init()
245 if (!mlx5_core_is_pf(dev)) in mlx5_sriov_cleanup()
Ddev.c319 if (!mlx5_core_is_pf(dev)) in mlx5_get_next_phys_dev()
325 if (!mlx5_core_is_pf(tmp_dev)) in mlx5_get_next_phys_dev()
Dhealth.c135 if (!mlx5_core_is_pf(dev)) in lock_sem_sw_reset()
567 if (!mlx5_core_is_pf(dev)) in mlx5_fw_fatal_reporter_dump()
Dmain.c620 if (!mlx5_core_is_pf(dev)) in set_hca_ctrl()
944 if (mlx5_core_is_pf(dev)) in mlx5_function_setup()
Den_main.c1938 u16 port_aff_bias = mlx5_core_is_pf(mdev) ? 0 : MLX5_CAP_GEN(mdev, vhca_id); in mlx5e_enumerate_lag_port()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/diag/
Dcrdump.c81 if (!mlx5_core_is_pf(dev) || !mlx5_vsc_accessible(dev) || in mlx5_crdump_enable()
/Linux-v5.4/include/linux/mlx5/
Dvport.h50 mlx5_core_is_pf(mdev))
Ddriver.h1119 static inline bool mlx5_core_is_pf(const struct mlx5_core_dev *dev) in mlx5_core_is_pf() function
1137 return mlx5_core_is_pf(dev) && MLX5_CAP_ESW(dev, ecpf_vport_exists); in mlx5_ecpf_vport_exists()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dvxlan.c197 if (!MLX5_CAP_ETH(mdev, tunnel_stateless_vxlan) || !mlx5_core_is_pf(mdev)) in mlx5_vxlan_create()
Ddevcom.c75 if (!mlx5_core_is_pf(dev)) in mlx5_devcom_register_device()
Dpci_vsc.c55 if (!mlx5_core_is_pf(dev)) in mlx5_pci_vsc_init()
/Linux-v5.4/drivers/infiniband/hw/mlx5/
Dmain.c1034 if (!mlx5_core_is_pf(mdev)) in mlx5_ib_query_device()
1811 if (mlx5_core_is_pf(dev->mdev) && MLX5_CAP_GEN(dev->mdev, bf)) in mlx5_ib_alloc_ucontext()
6385 if (mlx5_core_is_pf(mdev)) in mlx5_ib_stage_caps_init()
Dmr.c648 mlx5_core_is_pf(dev->mdev)) in mlx5_mr_cache_init()