Home
last modified time | relevance | path

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

/Linux-v5.15/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-v5.15/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch.c866 if (mlx5_core_is_ecpf(esw->dev) && vport_num == MLX5_VPORT_PF) in mlx5_esw_vport_enable()
1087 ret = mlx5_eswitch_load_vport(esw, MLX5_VPORT_PF, enabled_events); in mlx5_eswitch_enable_pf_vf_vports()
1116 mlx5_eswitch_unload_vport(esw, MLX5_VPORT_PF); in mlx5_eswitch_enable_pf_vf_vports()
1131 mlx5_eswitch_unload_vport(esw, MLX5_VPORT_PF); in mlx5_eswitch_disable_pf_vf_vports()
1389 MLX5_SET(query_hca_cap_in, in, function_id, MLX5_VPORT_PF); in mlx5_query_hca_cap_host_pf()
1478 err = mlx5_esw_vport_alloc(esw, dev, idx, MLX5_VPORT_PF); in mlx5_esw_vports_init()
1481 if (esw->first_host_vport == MLX5_VPORT_PF) in mlx5_esw_vports_init()
1696 return vport_num == MLX5_VPORT_PF || in is_port_function_supported()
Deswitch.h548 MLX5_VPORT_ECPF : MLX5_VPORT_PF; in mlx5_eswitch_manager_vport()
560 MLX5_VPORT_PF : MLX5_VPORT_FIRST_VF; in mlx5_eswitch_first_host_vport_num()
Deswitch_offloads.c1202 vport = mlx5_eswitch_get_vport(esw, MLX5_VPORT_PF); in esw_add_fdb_peer_miss_rules()
1204 spec, MLX5_VPORT_PF); in esw_add_fdb_peer_miss_rules()
1258 vport = mlx5_eswitch_get_vport(esw, MLX5_VPORT_PF); in esw_add_fdb_peer_miss_rules()
1286 vport = mlx5_eswitch_get_vport(esw, MLX5_VPORT_PF); in esw_del_fdb_peer_miss_rules()
2250 rep = mlx5_eswitch_get_rep(esw, MLX5_VPORT_PF); in __unload_reps_all_vport()
3598 if (vport_num == MLX5_VPORT_PF && in mlx5_eswitch_vport_has_rep()
/Linux-v5.15/include/linux/mlx5/
Dvport.h52 MLX5_VPORT_PF = 0x0, enumerator