Home
last modified time | relevance | path

Searched refs:mlx5_core_is_ecpf (Results 1 – 15 of 15) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Decpf.c76 if (!mlx5_core_is_ecpf(dev)) in mlx5_ec_init()
86 if (!mlx5_core_is_ecpf(dev)) in mlx5_ec_cleanup()
H A Deswitch.c132 if (vport || mlx5_core_is_ecpf(dev)) in arm_vport_context_events_cmd()
937 (!vport_num && mlx5_core_is_ecpf(esw->dev))) in mlx5_esw_vport_enable()
1314 if (!mlx5_core_is_ecpf(dev) || !mlx5_esw_allowed(esw)) in mlx5_esw_host_pf_enable_hca()
1340 if (!mlx5_core_is_ecpf(dev) || !mlx5_esw_allowed(esw)) in mlx5_esw_host_pf_disable_hca()
1715 if (!mlx5_core_is_ecpf(esw->dev)) { in mlx5_eswitch_enable()
1749 if (!mlx5_core_is_ecpf(esw->dev)) { in mlx5_eswitch_disable_sriov()
1768 if (!mlx5_core_is_ecpf(esw->dev)) in mlx5_eswitch_disable_sriov()
1838 if (!mlx5_core_is_ecpf(dev) || in mlx5_esw_sf_max_hpf_functions()
H A Dpagealloc.c80 return mlx5_core_is_ecpf(dev) && !ec_function ? MLX5_HOST_PF : MLX5_PF; in func_id_to_type()
209 MLX5_SET(query_pages_in, in, embedded_cpu_function, mlx5_core_is_ecpf(dev)); in mlx5_cmd_query_pages()
683 return give_pages(dev, func_id, npages, 0, mlx5_core_is_ecpf(dev)); in mlx5_satisfy_startup_pages()
H A Dsriov.c172 if (mlx5_core_is_ecpf(dev)) in mlx5_device_disable_sriov()
H A Dmlx5_core.h482 return mlx5_core_is_ecpf(dev) && mlx5_core_ec_vf_vport_base(dev); in mlx5_core_ec_sriov_enabled()
H A Den_rep.c861 if (!mlx5e_is_uplink_rep(priv) && mlx5_core_is_ecpf(mdev)) in mlx5e_build_rep_params()
896 if (mlx5_core_is_ecpf(mdev)) in mlx5e_build_rep_netdev()
H A Dhealth.c709 if (mlx5_core_is_ecpf(dev)) { in mlx5_fw_reporters_create()
H A Dfw_reset.c454 if (!mlx5_core_is_ecpf(dev) && !mlx5_sf_table_empty(dev)) { in mlx5_is_reset_now_capable()
H A Dvport.c365 if (vport || mlx5_core_is_ecpf(dev)) in mlx5_query_nic_vport_mac_list()
H A Deswitch_offloads.c2918 if (vport->vport || mlx5_core_is_ecpf(esw->dev)) in esw_master_egress_create_resources()
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
H A Dhelper.c38 if (vport_num || mlx5_core_is_ecpf(esw->dev)) in esw_acl_table_create()
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Ddevlink_port.c15 return (mlx5_core_is_ecpf(esw->dev) && vport_num == MLX5_VPORT_PF) || in mlx5_esw_devlink_port_supported()
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dsd.c162 if (mlx5_core_is_ecpf(dev)) in sd_init()
/linux/include/linux/mlx5/
H A Ddriver.h1229 static inline bool mlx5_core_is_ecpf(const struct mlx5_core_dev *dev) in mlx5_core_is_ecpf() function
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dparams.c122 max_log_wqe_size_cap = mlx5_core_is_ecpf(mdev) ? in mlx5e_mpwrq_log_wqe_sz()