DNX(J2/J2c/J2c+): Reserve Non-ECMP Fec Resource for Non-ECMP Route Nexthops/NBR Entries (#13076)
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).
This commit is contained in:
parent
1fd2395f29
commit
bf428fd9a7
@ -1 +1,2 @@
|
||||
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/jr2-a7280cr3-32d4-40x100G.config.bcm
|
||||
SAI_SWITCH_NON_ECMP_MAX_SIZE=3072
|
||||
|
@ -1,2 +1,2 @@
|
||||
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/j2p-a7800r3a-36d-36x400G.config.bcm
|
||||
|
||||
SAI_SWITCH_NON_ECMP_MAX_SIZE=3072
|
||||
|
@ -1,2 +1,2 @@
|
||||
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/j2p-a7800r3a-36d-36x400G.config.bcm
|
||||
|
||||
SAI_SWITCH_NON_ECMP_MAX_SIZE=3072
|
||||
|
@ -1,2 +1,2 @@
|
||||
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/j2p-a7800r3a-36d-36x400G.config.bcm
|
||||
|
||||
SAI_SWITCH_NON_ECMP_MAX_SIZE=3072
|
||||
|
@ -1 +1,2 @@
|
||||
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/jr2cp-nokia-18x100g-4x25g-config.bcm
|
||||
SAI_SWITCH_NON_ECMP_MAX_SIZE=3072
|
||||
|
@ -1 +1,2 @@
|
||||
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/jr2cp-nokia-18x100g-4x25g-config.bcm
|
||||
SAI_SWITCH_NON_ECMP_MAX_SIZE=3072
|
||||
|
@ -1 +1,2 @@
|
||||
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/jr2cp-nokia-18x400g-config.bcm
|
||||
SAI_SWITCH_NON_ECMP_MAX_SIZE=3072
|
||||
|
@ -1 +1,2 @@
|
||||
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/jr2cp-nokia-18x400g-config.bcm
|
||||
SAI_SWITCH_NON_ECMP_MAX_SIZE=3072
|
||||
|
Loading…
Reference in New Issue
Block a user