Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/esw/
A 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()
A Ddebugfs.c155 if (vport_num == MLX5_VPORT_PF) { in mlx5_esw_vport_debugfs_create()
/linux-6.3-rc2/include/linux/mlx5/
A Dvport.h52 MLX5_VPORT_PF = 0x0, enumerator
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/
A Deswitch.c916 if (mlx5_core_is_ecpf(esw->dev) && vport_num == MLX5_VPORT_PF) in mlx5_esw_vport_enable()
1140 ret = mlx5_eswitch_load_vport(esw, MLX5_VPORT_PF, enabled_events); in mlx5_eswitch_enable_pf_vf_vports()
1169 mlx5_eswitch_unload_vport(esw, MLX5_VPORT_PF); in mlx5_eswitch_enable_pf_vf_vports()
1184 mlx5_eswitch_unload_vport(esw, MLX5_VPORT_PF); in mlx5_eswitch_disable_pf_vf_vports()
1477 MLX5_SET(query_hca_cap_in, in, function_id, MLX5_VPORT_PF); in mlx5_query_hca_cap_host_pf()
1566 err = mlx5_esw_vport_alloc(esw, dev, idx, MLX5_VPORT_PF); in mlx5_esw_vports_init()
1569 if (esw->first_host_vport == MLX5_VPORT_PF) in mlx5_esw_vports_init()
A Deswitch.h571 MLX5_VPORT_ECPF : MLX5_VPORT_PF; in mlx5_eswitch_manager_vport()
583 MLX5_VPORT_PF : MLX5_VPORT_FIRST_VF; in mlx5_eswitch_first_host_vport_num()
A Deswitch_offloads.c1074 vport = mlx5_eswitch_get_vport(esw, MLX5_VPORT_PF); in esw_add_fdb_peer_miss_rules()
1076 spec, MLX5_VPORT_PF); in esw_add_fdb_peer_miss_rules()
1130 vport = mlx5_eswitch_get_vport(esw, MLX5_VPORT_PF); in esw_add_fdb_peer_miss_rules()
1158 vport = mlx5_eswitch_get_vport(esw, MLX5_VPORT_PF); in esw_del_fdb_peer_miss_rules()
2360 rep = mlx5_eswitch_get_rep(esw, MLX5_VPORT_PF); in __unload_reps_all_vport()
3650 if (vport_num == MLX5_VPORT_PF && in mlx5_eswitch_vport_has_rep()
3882 return vport_num == MLX5_VPORT_PF || in is_port_function_supported()

Completed in 23 milliseconds