Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/esw/
Ddevlink_port.c20 (mlx5_core_is_ecpf(esw->dev) && vport_num == MLX5_VPORT_PF) || in mlx5_esw_devlink_port_supported()
50 } else if (vport_num == MLX5_VPORT_PF) { in mlx5_esw_dl_port_alloc()
/linux-5.19.10/include/linux/mlx5/
Dvport.h52 MLX5_VPORT_PF = 0x0, enumerator
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch.c863 if (mlx5_core_is_ecpf(esw->dev) && vport_num == MLX5_VPORT_PF) in mlx5_esw_vport_enable()
1084 ret = mlx5_eswitch_load_vport(esw, MLX5_VPORT_PF, enabled_events); in mlx5_eswitch_enable_pf_vf_vports()
1113 mlx5_eswitch_unload_vport(esw, MLX5_VPORT_PF); in mlx5_eswitch_enable_pf_vf_vports()
1128 mlx5_eswitch_unload_vport(esw, MLX5_VPORT_PF); in mlx5_eswitch_disable_pf_vf_vports()
1393 MLX5_SET(query_hca_cap_in, in, function_id, MLX5_VPORT_PF); in mlx5_query_hca_cap_host_pf()
1482 err = mlx5_esw_vport_alloc(esw, dev, idx, MLX5_VPORT_PF); in mlx5_esw_vports_init()
1485 if (esw->first_host_vport == MLX5_VPORT_PF) in mlx5_esw_vports_init()
Deswitch.h545 MLX5_VPORT_ECPF : MLX5_VPORT_PF; in mlx5_eswitch_manager_vport()
557 MLX5_VPORT_PF : MLX5_VPORT_FIRST_VF; in mlx5_eswitch_first_host_vport_num()
Deswitch_offloads.c1261 vport = mlx5_eswitch_get_vport(esw, MLX5_VPORT_PF); in esw_add_fdb_peer_miss_rules()
1263 spec, MLX5_VPORT_PF); in esw_add_fdb_peer_miss_rules()
1317 vport = mlx5_eswitch_get_vport(esw, MLX5_VPORT_PF); in esw_add_fdb_peer_miss_rules()
1345 vport = mlx5_eswitch_get_vport(esw, MLX5_VPORT_PF); in esw_del_fdb_peer_miss_rules()
2320 rep = mlx5_eswitch_get_rep(esw, MLX5_VPORT_PF); in __unload_reps_all_vport()
3651 if (vport_num == MLX5_VPORT_PF && in mlx5_eswitch_vport_has_rep()
3880 return vport_num == MLX5_VPORT_PF || in is_port_function_supported()