Searched refs:sub_pool_size (Results 1 – 1 of 1) sorted by relevance
248 u64 sub_pool_size; in mlxsw_sp_counter_resources_register() local281 sub_pool_size = sub_pool->bank_count * bank_size; in mlxsw_sp_counter_resources_register()283 if (base_index + sub_pool_size > pool_size) in mlxsw_sp_counter_resources_register()284 sub_pool_size = pool_size - base_index; in mlxsw_sp_counter_resources_register()285 base_index += sub_pool_size; in mlxsw_sp_counter_resources_register()287 devlink_resource_size_params_init(&size_params, sub_pool_size, in mlxsw_sp_counter_resources_register()288 sub_pool_size, bank_size, in mlxsw_sp_counter_resources_register()292 sub_pool_size, in mlxsw_sp_counter_resources_register()