Searched refs:MLX5_VPORT_PF (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
H A D | devlink_port.c | 19 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 D | ipsec.c | 212 if (vport->vport == MLX5_VPORT_PF) in esw_ipsec_vf_offload_set_bytype()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | eswitch.c | 919 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() 1656 MLX5_SET(query_hca_cap_in, in, function_id, MLX5_VPORT_PF); in mlx5_query_hca_cap_host_pf() 1745 err = mlx5_esw_vport_alloc(esw, idx, MLX5_VPORT_PF); in mlx5_esw_vports_init() 1748 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 D | eswitch.h | 625 MLX5_VPORT_ECPF : MLX5_VPORT_PF; in mlx5_eswitch_manager_vport() 644 MLX5_VPORT_PF : MLX5_VPORT_FIRST_VF; in mlx5_eswitch_first_host_vport_num()
|
H A D | eswitch_offloads.c | 1205 vport = mlx5_eswitch_get_vport(esw, MLX5_VPORT_PF); in esw_add_fdb_peer_miss_rules() 1207 spec, MLX5_VPORT_PF); in esw_add_fdb_peer_miss_rules() 1290 vport = mlx5_eswitch_get_vport(esw, MLX5_VPORT_PF); in esw_add_fdb_peer_miss_rules() 1333 vport = mlx5_eswitch_get_vport(esw, MLX5_VPORT_PF); in esw_del_fdb_peer_miss_rules() 4017 if (vport_num == MLX5_VPORT_PF && in mlx5_eswitch_vport_has_rep()
|
/openbmc/linux/include/linux/mlx5/ |
H A D | vport.h | 52 MLX5_VPORT_PF = 0x0, enumerator
|
/openbmc/linux/drivers/infiniband/hw/mlx5/ |
H A D | counters.c | 588 port_num != MLX5_VPORT_PF; in mlx5_ib_fill_counters() 687 port_num != MLX5_VPORT_PF; in __mlx5_ib_alloc_counters()
|