Home
last modified time | relevance | path

Searched refs:total_bank_config (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_cnt.c247 unsigned int total_bank_config; in mlxsw_sp_counter_resources_register() local
277 total_bank_config = 0; in mlxsw_sp_counter_resources_register()
298 total_bank_config += sub_pool->bank_count; in mlxsw_sp_counter_resources_register()
302 if (WARN_ON(total_bank_config > div64_u64(pool_size, bank_size) + 1)) in mlxsw_sp_counter_resources_register()