Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_cnt.c50 struct mlxsw_sp_counter_sub_pool *sub_pool; in mlxsw_sp_counter_sub_pools_prepare() local
53 sub_pool = &mlxsw_sp_counter_sub_pools[MLXSW_SP_COUNTER_SUB_POOL_FLOW]; in mlxsw_sp_counter_sub_pools_prepare()
56 sub_pool->entry_size = MLXSW_CORE_RES_GET(mlxsw_sp->core, 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()
62 sub_pool->entry_size = MLXSW_CORE_RES_GET(mlxsw_sp->core, in mlxsw_sp_counter_sub_pools_prepare()
69 struct mlxsw_sp_counter_sub_pool *sub_pool; in mlxsw_sp_counter_pool_init() local
106 sub_pool = &pool->sub_pools[i]; in mlxsw_sp_counter_pool_init()
107 sub_pool->size = sub_pool->bank_count * in mlxsw_sp_counter_pool_init()
109 sub_pool->base_index = base_index; in mlxsw_sp_counter_pool_init()
110 base_index += sub_pool->size; in mlxsw_sp_counter_pool_init()
[all …]