Searched refs:base_sf_num (Results 1 – 1 of 1) sorted by relevance
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/ |
D | eswitch.c | 1737 u16 base_sf_num; in mlx5_esw_vports_init() local 1759 base_sf_num = mlx5_sf_start_function_id(dev); in mlx5_esw_vports_init() 1761 err = mlx5_esw_vport_alloc(esw, idx, base_sf_num + i); in mlx5_esw_vports_init() 1764 xa_set_mark(&esw->vports, base_sf_num + i, MLX5_ESW_VPT_SF); in mlx5_esw_vports_init() 1768 err = mlx5_esw_sf_max_hpf_functions(dev, &max_host_pf_sfs, &base_sf_num); in mlx5_esw_vports_init() 1772 err = mlx5_esw_vport_alloc(esw, idx, base_sf_num + i); in mlx5_esw_vports_init() 1775 xa_set_mark(&esw->vports, base_sf_num + i, MLX5_ESW_VPT_SF); in mlx5_esw_vports_init()
|