Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/
Decpf.c75 if (!mlx5_core_is_ecpf(dev)) in mlx5_ec_init()
85 if (!mlx5_core_is_ecpf(dev)) in mlx5_ec_cleanup()
Deswitch.c132 if (vport || mlx5_core_is_ecpf(dev)) in arm_vport_context_events_cmd()
927 (!vport_num && mlx5_core_is_ecpf(esw->dev))) in mlx5_esw_vport_enable()
940 if (mlx5_core_is_ecpf(esw->dev) && vport_num == MLX5_VPORT_PF) in mlx5_esw_vport_enable()
1249 if (!mlx5_core_is_ecpf(dev)) in host_pf_enable_hca()
1261 if (!mlx5_core_is_ecpf(dev)) in host_pf_disable_hca()
1546 if (!mlx5_core_is_ecpf(esw->dev)) { in mlx5_eswitch_enable()
1583 if (!mlx5_core_is_ecpf(esw->dev)) { in mlx5_eswitch_disable_sriov()
1602 if (!mlx5_core_is_ecpf(esw->dev)) in mlx5_eswitch_disable_sriov()
1677 if (!mlx5_core_is_ecpf(dev)) { in mlx5_esw_sf_max_hpf_functions()
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()
663 return give_pages(dev, func_id, npages, 0, mlx5_core_is_ecpf(dev)); in mlx5_satisfy_startup_pages()
Dsriov.c172 if (mlx5_core_is_ecpf(dev)) in mlx5_device_disable_sriov()
Dmlx5_core.h354 return mlx5_core_is_ecpf(dev) && mlx5_core_ec_vf_vport_base(dev); in mlx5_core_ec_sriov_enabled()
Dhealth.c715 if (mlx5_core_is_ecpf(dev)) { in mlx5_fw_reporters_create()
Dvport.c291 if (vport || mlx5_core_is_ecpf(dev)) in mlx5_query_nic_vport_mac_list()
Deswitch_offloads.c2708 if (vport->vport || mlx5_core_is_ecpf(esw->dev)) in esw_master_egress_create_resources()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
Dhelper.c38 if (vport_num || mlx5_core_is_ecpf(esw->dev)) in esw_acl_table_create()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/esw/
Ddevlink_port.c19 return (mlx5_core_is_ecpf(esw->dev) && vport_num == MLX5_VPORT_PF) || in mlx5_esw_devlink_port_supported()
/Linux-v6.6/include/linux/mlx5/
Ddriver.h1225 static inline bool mlx5_core_is_ecpf(const struct mlx5_core_dev *dev) in mlx5_core_is_ecpf() function