Home
last modified time | relevance | path

Searched refs:MLX5_VPORT_PF (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Ddevlink_port.c19 return (mlx5_core_is_ecpf(esw->dev) && vport_num == MLX5_VPORT_PF) || in mlx5_esw_devlink_port_supported()
40 if (vport_num == MLX5_VPORT_PF) { in mlx5_esw_offloads_pf_vf_devlink_port_attrs_set()
H A Dipsec.c212 if (vport->vport == MLX5_VPORT_PF) in esw_ipsec_vf_offload_set_bytype()
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dmlx5hws_vport.c53 vport == MLX5_VPORT_PF; in hws_vport_is_esw_mgr_vport()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch.c919 if (vport->vport != MLX5_VPORT_PF && in mlx5_esw_vport_enable()
940 if (mlx5_core_is_ecpf(esw->dev) && vport_num == MLX5_VPORT_PF) in mlx5_esw_vport_enable()
978 if (vport->vport != MLX5_VPORT_PF && in mlx5_esw_vport_disable()
1282 ret = mlx5_eswitch_load_pf_vf_vport(esw, MLX5_VPORT_PF, in mlx5_eswitch_enable_pf_vf_vports()
1323 mlx5_eswitch_unload_pf_vf_vport(esw, MLX5_VPORT_PF); in mlx5_eswitch_enable_pf_vf_vports()
1344 mlx5_eswitch_unload_pf_vf_vport(esw, MLX5_VPORT_PF); in mlx5_eswitch_disable_pf_vf_vports()
1655 MLX5_SET(query_hca_cap_in, in, function_id, MLX5_VPORT_PF); in mlx5_query_hca_cap_host_pf()
1744 err = mlx5_esw_vport_alloc(esw, idx, MLX5_VPORT_PF); in mlx5_esw_vports_init()
1747 if (esw->first_host_vport == MLX5_VPORT_PF) in mlx5_esw_vports_init()
2012 return vport_num == MLX5_VPORT_PF || in mlx5_eswitch_is_pf_vf_vport()
H A Deswitch.h647 MLX5_VPORT_PF : MLX5_VPORT_FIRST_VF; in mlx5_eswitch_first_host_vport_num()
H A Deswitch_offloads.c1219 vport = mlx5_eswitch_get_vport(esw, MLX5_VPORT_PF); in esw_add_fdb_peer_miss_rules()
1221 spec, MLX5_VPORT_PF); in esw_add_fdb_peer_miss_rules()
1304 vport = mlx5_eswitch_get_vport(esw, MLX5_VPORT_PF); in esw_add_fdb_peer_miss_rules()
1347 vport = mlx5_eswitch_get_vport(esw, MLX5_VPORT_PF); in esw_del_fdb_peer_miss_rules()
4038 if (vport_num == MLX5_VPORT_PF && in mlx5_eswitch_vport_has_rep()
/linux/include/linux/mlx5/
H A Deswitch.h218 MLX5_VPORT_ECPF : MLX5_VPORT_PF; in mlx5_eswitch_manager_vport()
H A Dvport.h52 MLX5_VPORT_PF = 0x0, enumerator
/linux/drivers/infiniband/hw/mlx5/
H A Dcounters.c588 port_num != MLX5_VPORT_PF; in mlx5_ib_fill_counters()
687 port_num != MLX5_VPORT_PF; in __mlx5_ib_alloc_counters()