Skip to content

Commit

Permalink
[Arista]: Fix TH5 egress pool creation failure with BCM YAML file and…
Browse files Browse the repository at this point in the history
… SAI update on 07/16 (#19640)

Why I did it
The latest TH5 mmu configuration has some issues where egress pool creation fails with the latest BCM SAI updates.

Jul 20 12:04:58.163923 str3-7060x6-64pe-2 ERR syncd#syncd: [none] SAI_API_BUFFER:driverEgressPoolSharedLimitSet:3476 configure egress itm 0 buffer pool 0 with size 82830162, gport 0x 800000b COS 0 current reserved size 21805392 shared size 60996322, requested shared size 61024770 failed with error -1
Jul 20 12:04:58.163923 str3-7060x6-64pe-2 ERR syncd#syncd: [none] SAI_API_BUFFER:ltsw_driverDBLimitSet:3197 set egress buffer pool 0 limit to 82830162 using port 11 queue 0 failed with error -1

Work item tracking
Microsoft ADO (number only): 28775282

How I did it
This PR fixes the issue by updating the egress pool size to match with the one in the ASIC.

How to verify it
Tested on local testbed

Jul 20 19:45:35.767569 str3-7060x6-64pe-2 NOTICE swss#orchagent: :- processQueue: Set buffer queue Ethernet0:0-2 to BUFFER_PROFILE_TABLE:egress_lossy_profile
Jul 20 19:45:35.823139 str3-7060x6-64pe-2 INFO syncd#syncd: [none] SAI_API_BUFFER:ltsw_driverDBLimitSet:3204 Created egress buffer pool 0 with size 82801714 bytes
Jul 20 19:45:35.823139 str3-7060x6-64pe-2 INFO syncd#syncd: [none] SAI_API_BUFFER:ltsw_driverEgressQueueFieldSet:4099 Programming cosq 0 for port 11 control 81 with value 1
Jul 20 19:45:35.823166 str3-7060x6-64pe-2 INFO syncd#syncd: [none]
...
Jul 20 19:45:38.214661 str3-7060x6-64pe-2 INFO syncd#syncd: [none] SAI_API_BUFFER:driverPGAttributeSet:1158 Programming ing cosq 3 for port 70 control 128 with value 3556
Jul 20 19:45:38.216275 str3-7060x6-64pe-2 INFO syncd#rsyslogd: imuxsock[pid: 33, name: /usr/bin/syncd] from str3-7060x6-64pe-2:syncd: begin to drop messages due to rate-limiting
Jul 20 19:45:38.279834 str3-7060x6-64pe-2 NOTICE swss#orchagent: :- processPriorityGroup: Set buffer PG Ethernet106:0 to BUFFER_PROFILE_TABLE:ingress_lossy_profile
  • Loading branch information
r12f authored and mssonicbld committed Jul 22, 2024
1 parent 496acbc commit 04143b3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
{%- macro generate_buffer_pool_and_profiles() %}
"BUFFER_POOL": {
"ingress_lossless_pool": {
"size": "165660324",
"size": "165603428",
"type": "ingress",
"mode": "dynamic",
"xoff": "29520896"
},
"egress_lossless_pool": {
"size": "165660324",
"size": "165603428",
"type": "egress",
"mode": "dynamic"
}
Expand Down

0 comments on commit 04143b3

Please sign in to comment.