Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_cnt.c24 static struct mlxsw_sp_counter_sub_pool mlxsw_sp_counter_sub_pools[] = { variable
41 for (i = 0; i < ARRAY_SIZE(mlxsw_sp_counter_sub_pools); i++) in mlxsw_sp_counter_pool_validate()
42 total_bank_config += mlxsw_sp_counter_sub_pools[i].bank_count; in mlxsw_sp_counter_pool_validate()
53 sub_pool = &mlxsw_sp_counter_sub_pools[MLXSW_SP_COUNTER_SUB_POOL_FLOW]; in mlxsw_sp_counter_sub_pools_prepare()
59 sub_pool = &mlxsw_sp_counter_sub_pools[MLXSW_SP_COUNTER_SUB_POOL_RIF]; in mlxsw_sp_counter_sub_pools_prepare()
100 pool->sub_pools = mlxsw_sp_counter_sub_pools; in mlxsw_sp_counter_pool_init()
105 for (i = 0; i < ARRAY_SIZE(mlxsw_sp_counter_sub_pools); i++) { in mlxsw_sp_counter_pool_init()
144 sub_pool = &mlxsw_sp_counter_sub_pools[sub_pool_id]; in mlxsw_sp_counter_alloc()
173 sub_pool = &mlxsw_sp_counter_sub_pools[sub_pool_id]; in mlxsw_sp_counter_free()