Searched refs:base_sf_num (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/ |
D | eswitch.c | 1738 u16 base_sf_num; in mlx5_esw_vports_init() local 1760 base_sf_num = mlx5_sf_start_function_id(dev); in mlx5_esw_vports_init() 1762 err = mlx5_esw_vport_alloc(esw, idx, base_sf_num + i); in mlx5_esw_vports_init() 1765 xa_set_mark(&esw->vports, base_sf_num + i, MLX5_ESW_VPT_SF); in mlx5_esw_vports_init() 1769 err = mlx5_esw_sf_max_hpf_functions(dev, &max_host_pf_sfs, &base_sf_num); in mlx5_esw_vports_init() 1773 err = mlx5_esw_vport_alloc(esw, idx, base_sf_num + i); in mlx5_esw_vports_init() 1776 xa_set_mark(&esw->vports, base_sf_num + i, MLX5_ESW_VPT_SF); in mlx5_esw_vports_init()
|