Skip to content

Commit

Permalink
[Arista]: Update TH5 flex counter configs (#19793)
Browse files Browse the repository at this point in the history
Why I did it
Enable pipe mode in TH5 flex counter block to support queue counters for all the ports.

Microsoft ADO (number only): 28949528
  • Loading branch information
kperumalbfn authored and mssonicbld committed Aug 3, 2024
1 parent 0f8a913 commit 3d959b2
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1395,14 +1395,25 @@ bcm_device:
0:
global:
ftem_mem_entries: 65536
sai_stats_support_mask: 0
global_flexctr_ing_action_num_reserved: 20
global_flexctr_ing_pool_num_reserved: 8
global_flexctr_ing_op_profile_num_reserved: 20
global_flexctr_ing_group_num_reserved: 2
global_flexctr_egr_action_num_reserved: 8
global_flexctr_egr_pool_num_reserved: 5
global_flexctr_egr_op_profile_num_reserved: 10
global_flexctr_egr_group_num_reserved: 1
...
---
device:
0:
# Per pipe flex counter configuration
CTR_EFLEX_CONFIG:
CTR_ING_EFLEX_OPERMODE_PIPEUNIQUE: 0
CTR_EGR_EFLEX_OPERMODE_PIPEUNIQUE: 0
CTR_ING_EFLEX_OPERMODE_PIPEUNIQUE: 1
CTR_ING_EFLEX_OPERMODE_PIPE_INSTANCE_UNIQUE: 1
CTR_EGR_EFLEX_OPERMODE_PIPEUNIQUE: 1
CTR_EGR_EFLEX_OPERMODE_PIPE_INSTANCE_UNIQUE: 1

# IFP mode
FP_CONFIG:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1907,14 +1907,25 @@ bcm_device:
0:
global:
ftem_mem_entries: 65536
sai_stats_support_mask: 0
global_flexctr_ing_action_num_reserved: 20
global_flexctr_ing_pool_num_reserved: 8
global_flexctr_ing_op_profile_num_reserved: 20
global_flexctr_ing_group_num_reserved: 2
global_flexctr_egr_action_num_reserved: 8
global_flexctr_egr_pool_num_reserved: 5
global_flexctr_egr_op_profile_num_reserved: 10
global_flexctr_egr_group_num_reserved: 1
...
---
device:
0:
# Per pipe flex counter configuration
CTR_EFLEX_CONFIG:
CTR_ING_EFLEX_OPERMODE_PIPEUNIQUE: 0
CTR_EGR_EFLEX_OPERMODE_PIPEUNIQUE: 0
CTR_ING_EFLEX_OPERMODE_PIPEUNIQUE: 1
CTR_ING_EFLEX_OPERMODE_PIPE_INSTANCE_UNIQUE: 1
CTR_EGR_EFLEX_OPERMODE_PIPEUNIQUE: 1
CTR_EGR_EFLEX_OPERMODE_PIPE_INSTANCE_UNIQUE: 1

# IFP mode
FP_CONFIG:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1139,14 +1139,25 @@ bcm_device:
0:
global:
ftem_mem_entries: 65536
sai_stats_support_mask: 0
global_flexctr_ing_action_num_reserved: 20
global_flexctr_ing_pool_num_reserved: 8
global_flexctr_ing_op_profile_num_reserved: 20
global_flexctr_ing_group_num_reserved: 2
global_flexctr_egr_action_num_reserved: 8
global_flexctr_egr_pool_num_reserved: 5
global_flexctr_egr_op_profile_num_reserved: 10
global_flexctr_egr_group_num_reserved: 1
...
---
device:
0:
# Per pipe flex counter configuration
CTR_EFLEX_CONFIG:
CTR_ING_EFLEX_OPERMODE_PIPEUNIQUE: 0
CTR_EGR_EFLEX_OPERMODE_PIPEUNIQUE: 0
CTR_ING_EFLEX_OPERMODE_PIPEUNIQUE: 1
CTR_ING_EFLEX_OPERMODE_PIPE_INSTANCE_UNIQUE: 1
CTR_EGR_EFLEX_OPERMODE_PIPEUNIQUE: 1
CTR_EGR_EFLEX_OPERMODE_PIPE_INSTANCE_UNIQUE: 1

# IFP mode
FP_CONFIG:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1139,14 +1139,25 @@ bcm_device:
0:
global:
ftem_mem_entries: 65536
sai_stats_support_mask: 0
global_flexctr_ing_action_num_reserved: 20
global_flexctr_ing_pool_num_reserved: 8
global_flexctr_ing_op_profile_num_reserved: 20
global_flexctr_ing_group_num_reserved: 2
global_flexctr_egr_action_num_reserved: 8
global_flexctr_egr_pool_num_reserved: 5
global_flexctr_egr_op_profile_num_reserved: 10
global_flexctr_egr_group_num_reserved: 1
...
---
device:
0:
# Per pipe flex counter configuration
CTR_EFLEX_CONFIG:
CTR_ING_EFLEX_OPERMODE_PIPEUNIQUE: 0
CTR_EGR_EFLEX_OPERMODE_PIPEUNIQUE: 0
CTR_ING_EFLEX_OPERMODE_PIPEUNIQUE: 1
CTR_ING_EFLEX_OPERMODE_PIPE_INSTANCE_UNIQUE: 1
CTR_EGR_EFLEX_OPERMODE_PIPEUNIQUE: 1
CTR_EGR_EFLEX_OPERMODE_PIPE_INSTANCE_UNIQUE: 1

# IFP mode
FP_CONFIG:
Expand Down

0 comments on commit 3d959b2

Please sign in to comment.