Searched refs:max_ext_fn (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/net/ethernet/mellanox/mlx5/core/sf/ |
H A D | hw_table.c | 253 u16 max_ext_fn) in mlx5_sf_hw_table_res_register() argument 266 devlink_resource_size_params_init(&size_params, max_ext_fn, max_ext_fn, 1, in mlx5_sf_hw_table_res_register() 268 return devl_resource_register(devlink, "max_external_SFs", max_ext_fn, in mlx5_sf_hw_table_res_register() 276 u16 max_ext_fn = 0; in mlx5_sf_hw_table_init() local 287 err = mlx5_esw_sf_max_hpf_functions(dev, &max_ext_fn, &ext_base_id); in mlx5_sf_hw_table_init() 291 if (mlx5_sf_hw_table_res_register(dev, max_fn, max_ext_fn)) in mlx5_sf_hw_table_init() 294 if (!max_fn && !max_ext_fn) in mlx5_sf_hw_table_init() 313 max_ext_fn, ext_base_id); in mlx5_sf_hw_table_init() 317 mlx5_core_dbg(dev, "SF HW table: max sfs = %d, ext sfs = %d\n", max_fn, max_ext_fn); in mlx5_sf_hw_table_init()
|