Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated sai.profile for Broadcom platform to pass SAI_KEY_NUM_ECMP_MEMBERS #5400

Merged
merged 1 commit into from
Sep 22, 2020

Conversation

abdosi
Copy link
Contributor

@abdosi abdosi commented Sep 18, 2020

Why I did it:-
In Broadcom SAI 3.5 by default we are supporting 256 Group with 64 Member each.
However in SAI 3.7 default behavior got changed to 128 Group and 128
Member each.

This change is to make sure we are using same ECMP Group/Member Per
Group for 3.7 also so that behavior is consistent.

This change applies only to platforms where SAI_KEY_NUM_ECMP_MEMBERS was not passed explicitly.

How I did:-
Using SAI Key,Value Profile SAI_KEY_NUM_ECMP_MEMBERS to pass number of ecmp members per group.

How I verify:-
Verified on Arista 7260cx3

admin@str-7260cx3-acs-1:~$ crm show resources all
Resource Name Used Count Available Count


nexthop_group 2 254

admin@str-7260cx3-acs-1:~$ redis-cli -n 6
127.0.0.1:6379[6]> hgetall "SWITCH_CAPABILITY|switch"

  1. "MAX_NEXTHOP_GROUP_COUNT"
  2. "256"

    However in SAI 3.7 default behaviout got changes to 128 Group and 128
    Memeber each.

    This change is to make sure we are using same ECMP Group/Memeber Per
    Group for 3.7 also so that behaviour is consistent.

Signed-off-by: Abhishek Dosi <[email protected]>
@prsunny
Copy link
Contributor

prsunny commented Sep 18, 2020

lgtm, @lguohan to confirm

@abdosi
Copy link
Contributor Author

abdosi commented Sep 18, 2020

lgtm, @lguohan to confirm

@lguohan Can you please confirm

@abdosi
Copy link
Contributor Author

abdosi commented Sep 21, 2020

@lguohan can you please confirm.

@abdosi abdosi merged commit a6a10f0 into sonic-net:master Sep 22, 2020
@abdosi abdosi deleted the ecmp_group branch September 22, 2020 18:21
abdosi added a commit that referenced this pull request Sep 22, 2020
…ch. (#5400)

However in SAI 3.7 default behaviout got changes to 128 Group and 128
    Memeber each.

    This change is to make sure we are using same ECMP Group/Memeber Per
    Group for 3.7 also so that behaviour is consistent.

Signed-off-by: Abhishek Dosi <[email protected]>
santhosh-kt pushed a commit to santhosh-kt/sonic-buildimage that referenced this pull request Feb 25, 2021
…ch. (sonic-net#5400)

However in SAI 3.7 default behaviout got changes to 128 Group and 128
    Memeber each.

    This change is to make sure we are using same ECMP Group/Memeber Per
    Group for 3.7 also so that behaviour is consistent.

Signed-off-by: Abhishek Dosi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants