Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/
Dsriov.c257 if (!mlx5_core_is_pf(dev) || !pci_num_vf(dev->pdev)) in mlx5_sriov_attach()
266 if (!mlx5_core_is_pf(dev)) in mlx5_sriov_detach()
301 if (!mlx5_core_is_pf(dev)) in mlx5_sriov_init()
322 if (!mlx5_core_is_pf(dev)) in mlx5_sriov_cleanup()
Dhealth.c134 if (!mlx5_core_is_pf(dev)) in lock_sem_sw_reset()
597 if (!mlx5_core_is_pf(dev)) in mlx5_fw_fatal_reporter_dump()
690 } else if (mlx5_core_is_pf(dev)) { in mlx5_fw_reporters_create()
844 if (mlx5_core_is_pf(dev) && MLX5_CAP_MCAM_REG(dev, mrtc)) in mlx5_start_health_fw_log_up()
Ddev.c114 if (mlx5_core_is_pf(dev)) in mlx5_vnet_supported()
Ddevlink.c166 if (mlx5_core_is_pf(dev) && pci_num_vf(pdev)) in mlx5_devlink_reload_down()
Dpci_irq.c101 if (!MLX5_CAP_GEN(dev, vport_group_manager) || !mlx5_core_is_pf(dev)) in mlx5_set_msix_vec_count()
Dmain.c807 if (!mlx5_core_is_pf(dev)) in set_hca_ctrl()
1176 if (mlx5_core_is_pf(dev)) in mlx5_function_enable()
Deswitch_offloads.c3595 if (!mlx5_core_is_pf(esw->dev) || !mlx5_sriov_is_enabled(esw->dev)) in esw_offloads_stop()
Den_main.c2610 u16 port_aff_bias = mlx5_core_is_pf(mdev) ? 0 : MLX5_CAP_GEN(mdev, vhca_id); in mlx5e_enumerate_lag_port()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/
Ddevlink.c58 if (mlx5_core_is_pf(mdev)) { in mlx5e_devlink_port_register()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/diag/
Dcrdump.c84 if (!mlx5_core_is_pf(dev) || !mlx5_vsc_accessible(dev) || in mlx5_crdump_enable()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dvxlan.c151 if (!MLX5_CAP_ETH(mdev, tunnel_stateless_vxlan) || !mlx5_core_is_pf(mdev)) in mlx5_vxlan_create()
Dpci_vsc.c60 if (!mlx5_core_is_pf(dev)) in mlx5_pci_vsc_init()
Dsd.c158 if (!mlx5_core_is_pf(dev)) in sd_init()
/linux-6.12.1/include/linux/mlx5/
Dvport.h42 mlx5_core_is_pf(mdev))
Ddriver.h1226 static inline bool mlx5_core_is_pf(const struct mlx5_core_dev *dev) in mlx5_core_is_pf() function
1249 return mlx5_core_is_pf(dev) && MLX5_CAP_ESW(dev, ecpf_vport_exists); in mlx5_ecpf_vport_exists()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_action.c2114 peer_vport = vhca_id_valid && mlx5_core_is_pf(dmn->mdev) && in mlx5dr_action_create_dest_vport()
/linux-6.12.1/drivers/infiniband/hw/mlx5/
Dmr.c905 !dev->is_rep && mlx5_core_is_pf(dev->mdev) && in mlx5r_cache_create_ent_locked()
Dmain.c4213 if (mlx5_core_is_pf(mdev)) in mlx5_ib_stage_caps_init()