Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_cnt.c250 unsigned int total_bank_config; in mlxsw_sp_counter_resources_register() local
280 total_bank_config = 0; in mlxsw_sp_counter_resources_register()
301 total_bank_config += sub_pool->bank_count; in mlxsw_sp_counter_resources_register()
305 if (WARN_ON(total_bank_config > div64_u64(pool_size, bank_size) + 1)) in mlxsw_sp_counter_resources_register()