bf428fd9a7
Why I did it On DNX (J2/J2c/J2c+) platforms, Single Path Nexthops and ECMp Nexthop resources(FECs) are shared. BRCM SAI do not have partition of this resource, and hence more single path Nexthop entries, causes ECMP programming to fail in scaled setup. How I did it Broadcom provided SAI changes to reserve resources for single path nexthop entries(More details in CSP: https://brcmsemiconductor-csm.wolkenservicedesk.com/wolken-support/allcases/request-details?requestId=CS00012251649). Along with SAI changes, they provided configurable Macro/flag to reserve NON_ECMP entries. This PR is to add that flag in various sai.profile files wherever applicable. PS: We are reserving 3072 single path Nexthop entries on each Linecard. Calculation is as follows. Max Slots per chassis: 8 Max No of Ports(each LC): 64 MyIP/Subnet Entries per port: 4(v4/v6) Nbr Entries Per port: 2(v4/v6) Total Non_ECMP Count: 8x64x(4+2) = 3072 How to verify it Without this change, the ECMP group count will be shown as Max_count in 'crm show resources all' command, and with this change the ECMP group count will be decreased by 24(3072/128).
3 lines
115 B
Plaintext
3 lines
115 B
Plaintext
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/jr2cp-nokia-18x100g-4x25g-config.bcm
|
|
SAI_SWITCH_NON_ECMP_MAX_SIZE=3072
|