| .. | .. |
|---|
| 4 | 4 | #ifndef _MLXSW_SPECTRUM_CNT_H |
|---|
| 5 | 5 | #define _MLXSW_SPECTRUM_CNT_H |
|---|
| 6 | 6 | |
|---|
| 7 | +#include "core.h" |
|---|
| 7 | 8 | #include "spectrum.h" |
|---|
| 8 | 9 | |
|---|
| 9 | 10 | enum mlxsw_sp_counter_sub_pool_id { |
|---|
| 10 | | - MLXSW_SP_COUNTER_SUB_POOL_FLOW, |
|---|
| 11 | 11 | MLXSW_SP_COUNTER_SUB_POOL_RIF, |
|---|
| 12 | + MLXSW_SP_COUNTER_SUB_POOL_FLOW, |
|---|
| 12 | 13 | }; |
|---|
| 13 | 14 | |
|---|
| 14 | 15 | int mlxsw_sp_counter_alloc(struct mlxsw_sp *mlxsw_sp, |
|---|
| .. | .. |
|---|
| 19 | 20 | unsigned int counter_index); |
|---|
| 20 | 21 | int mlxsw_sp_counter_pool_init(struct mlxsw_sp *mlxsw_sp); |
|---|
| 21 | 22 | void mlxsw_sp_counter_pool_fini(struct mlxsw_sp *mlxsw_sp); |
|---|
| 23 | +int mlxsw_sp_counter_resources_register(struct mlxsw_core *mlxsw_core); |
|---|
| 22 | 24 | |
|---|
| 23 | 25 | #endif |
|---|