Searched refs:MLX5_VPORT_HOST_PF (Results 1 – 5 of 5) sorted by relevance
| /linux/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
| H A D | devlink_port.c | 37 vport_num == MLX5_VPORT_HOST_PF) || in mlx5_esw_devlink_port_supported() 60 if (vport_num == MLX5_VPORT_HOST_PF) { in mlx5_esw_offloads_pf_vf_devlink_port_attrs_set() 210 if (vport_num != MLX5_VPORT_HOST_PF && in mlx5_esw_devlink_port_res_register() 214 if (vport_num == MLX5_VPORT_HOST_PF) { in mlx5_esw_devlink_port_res_register()
|
| /linux/include/linux/mlx5/ |
| H A D | vport.h | 54 MLX5_VPORT_HOST_PF = 0x0, enumerator
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | eswitch.c | 853 if (vport_num == MLX5_VPORT_HOST_PF) in esw_vport_to_func_type() 1556 return mlx5_esw_pf_enable_hca(dev, MLX5_VPORT_HOST_PF); in mlx5_esw_host_pf_enable_hca() 1561 return mlx5_esw_pf_disable_hca(dev, MLX5_VPORT_HOST_PF); in mlx5_esw_host_pf_disable_hca() 1582 ret = mlx5_eswitch_load_pf_vf_vport(esw, MLX5_VPORT_HOST_PF, in mlx5_eswitch_enable_pf_vf_vports() 1660 mlx5_eswitch_unload_pf_vf_vport(esw, MLX5_VPORT_HOST_PF); in mlx5_eswitch_enable_pf_vf_vports() 1696 mlx5_eswitch_unload_pf_vf_vport(esw, MLX5_VPORT_HOST_PF); in mlx5_eswitch_disable_pf_vf_vports() 2110 return mlx5_esw_sf_max_pf_functions(dev, MLX5_VPORT_HOST_PF, max_sfs, in mlx5_esw_sf_max_hpf_functions() 2384 err = mlx5_esw_vport_alloc(esw, idx, MLX5_VPORT_HOST_PF); in mlx5_esw_vports_init() 2387 if (esw->first_host_vport == MLX5_VPORT_HOST_PF) in mlx5_esw_vports_init() 2716 return vport_num == MLX5_VPORT_HOST_PF || in mlx5_eswitch_is_pf_vf_vport()
|
| H A D | eswitch_offloads.c | 1222 MLX5_VPORT_HOST_PF); in esw_add_fdb_peer_miss_rules() 1224 MLX5_VPORT_HOST_PF); in esw_add_fdb_peer_miss_rules() 1324 MLX5_VPORT_HOST_PF); in esw_add_fdb_peer_miss_rules() 1370 MLX5_VPORT_HOST_PF); in esw_del_fdb_peer_miss_rules() 4814 if (vport_num == MLX5_VPORT_HOST_PF && in mlx5_eswitch_vport_has_rep() 5296 if (vport->vport == MLX5_VPORT_HOST_PF) { in mlx5_devlink_pf_port_fn_state_get()
|
| H A D | eswitch.h | 726 MLX5_VPORT_HOST_PF : MLX5_VPORT_FIRST_HOST_VF; in mlx5_eswitch_first_host_vport_num()
|