Skip to content

VOQ: Set the ECMP group size to 128.#3351

Merged
prsunny merged 4 commits intosonic-net:masterfrom
deepak-singhal0408:deepsinghal/VOQ_Update_ECMP_Group_Size
Nov 11, 2024
Merged

VOQ: Set the ECMP group size to 128.#3351
prsunny merged 4 commits intosonic-net:masterfrom
deepak-singhal0408:deepsinghal/VOQ_Update_ECMP_Group_Size

Conversation

@deepak-singhal0408
Copy link
Contributor

What I did
Set the ECMP group size on VOQ platform to 128.

Why I did it
in SAI 11.x, the MAX ECMP group size on DNX chipsets is set to 64. This is causing issues on VOQ platforms, where ECMP group size in control plane (ebgp+ibgp) is set to 128. We see ECMP group creation failures and eventually leading to orchagent crash.
Related issue: sonic-net/sonic-buildimage#20622

How I verified it
Verified on T2 Chassis(VOQ) by adding Static Routes with > 64 nexthops.
Also tried shutting down on of the group member to verify.

Details if related
Syslogs:
NOTICE swss0#orchagent: :- RouteOrch: Switch Type: voq, Max ECMP Group Size supported: 512
NOTICE swss0#orchagent: :- RouteOrch: Set switch attribute ECMP member count to 128

@deepak-singhal0408 deepak-singhal0408 self-assigned this Nov 2, 2024
@deepak-singhal0408 deepak-singhal0408 changed the title VOQ: Set the ECMP group size to 128. [Master/202405] VOQ: Set the ECMP group size to 128. Nov 2, 2024
@deepak-singhal0408
Copy link
Contributor Author

@prsunny,
Following are the reasons for the missing code coverage.

  1. At present we dont have vslib support for SAI_SWITCH_ATTR_MAX_ECMP_MEMBER_COUNT attribute. Hence the dvs test run doesnt execute the else code.
  2. This is a platform specific code.

In future, once we have vslib support for this attribute, this code will automatically be covered during dvs bring up of virtual chassis (as this will get executed during swss init)

This is to fix a regression on 202405 branch for voq chassis, hence request to expedite its merge. Thank you!

@deepak-singhal0408 deepak-singhal0408 changed the title [Master/202405] VOQ: Set the ECMP group size to 128. VOQ: Set the ECMP group size to 128. Nov 9, 2024
@prsunny prsunny merged commit 7db69c1 into sonic-net:master Nov 11, 2024
stepanblyschak pushed a commit to stepanblyschak/sonic-swss that referenced this pull request Nov 13, 2024
What I did
Set the ECMP group size on VOQ platform to 128.

Why I did it
in SAI 11.x, the MAX ECMP group size on DNX chipsets is set to 64. This is causing issues on VOQ platforms, where ECMP group size in control plane (ebgp+ibgp) is set to 128. We see ECMP group creation failures and eventually leading to orchagent crash.
Related issue: sonic-net/sonic-buildimage#20622
@bingwang-ms
Copy link
Contributor

@deepak-singhal0408 Please add MSFT ADO number to the PR for 202405 cherry-pick. Thanks!

@deepak-singhal0408
Copy link
Contributor Author

MSFT ADO: 30182195 for 202405 branch.. @bingwang-ms

mssonicbld pushed a commit to mssonicbld/sonic-swss that referenced this pull request Nov 18, 2024
What I did
Set the ECMP group size on VOQ platform to 128.

Why I did it
in SAI 11.x, the MAX ECMP group size on DNX chipsets is set to 64. This is causing issues on VOQ platforms, where ECMP group size in control plane (ebgp+ibgp) is set to 128. We see ECMP group creation failures and eventually leading to orchagent crash.
Related issue: sonic-net/sonic-buildimage#20622
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202405: #3376

mssonicbld pushed a commit that referenced this pull request Nov 19, 2024
What I did
Set the ECMP group size on VOQ platform to 128.

Why I did it
in SAI 11.x, the MAX ECMP group size on DNX chipsets is set to 64. This is causing issues on VOQ platforms, where ECMP group size in control plane (ebgp+ibgp) is set to 128. We see ECMP group creation failures and eventually leading to orchagent crash.
Related issue: sonic-net/sonic-buildimage#20622
github-actions bot pushed a commit to bradh352/sonic-swss that referenced this pull request Nov 19, 2024
What I did
Set the ECMP group size on VOQ platform to 128.

Why I did it
in SAI 11.x, the MAX ECMP group size on DNX chipsets is set to 64. This is causing issues on VOQ platforms, where ECMP group size in control plane (ebgp+ibgp) is set to 128. We see ECMP group creation failures and eventually leading to orchagent crash.
Related issue: sonic-net/sonic-buildimage#20622
divyachandralekha pushed a commit to divyachandralekha/sonic-swss that referenced this pull request Dec 12, 2024
What I did
Set the ECMP group size on VOQ platform to 128.

Why I did it
in SAI 11.x, the MAX ECMP group size on DNX chipsets is set to 64. This is causing issues on VOQ platforms, where ECMP group size in control plane (ebgp+ibgp) is set to 128. We see ECMP group creation failures and eventually leading to orchagent crash.
Related issue: sonic-net/sonic-buildimage#20622
divyachandralekha pushed a commit to divyachandralekha/sonic-swss that referenced this pull request Dec 12, 2024
What I did
Set the ECMP group size on VOQ platform to 128.

Why I did it
in SAI 11.x, the MAX ECMP group size on DNX chipsets is set to 64. This is causing issues on VOQ platforms, where ECMP group size in control plane (ebgp+ibgp) is set to 128. We see ECMP group creation failures and eventually leading to orchagent crash.
Related issue: sonic-net/sonic-buildimage#20622
shiraez pushed a commit to Marvell-switching/sonic-swss that referenced this pull request Feb 17, 2025
What I did
Set the ECMP group size on VOQ platform to 128.

Why I did it
in SAI 11.x, the MAX ECMP group size on DNX chipsets is set to 64. This is causing issues on VOQ platforms, where ECMP group size in control plane (ebgp+ibgp) is set to 128. We see ECMP group creation failures and eventually leading to orchagent crash.
Related issue: sonic-net/sonic-buildimage#20622
Janetxxx pushed a commit to Janetxxx/sonic-swss that referenced this pull request Nov 10, 2025
What I did
Set the ECMP group size on VOQ platform to 128.

Why I did it
in SAI 11.x, the MAX ECMP group size on DNX chipsets is set to 64. This is causing issues on VOQ platforms, where ECMP group size in control plane (ebgp+ibgp) is set to 128. We see ECMP group creation failures and eventually leading to orchagent crash.
Related issue: sonic-net/sonic-buildimage#20622
baorliu pushed a commit to baorliu/sonic-swss that referenced this pull request Feb 23, 2026
What I did
Set the ECMP group size on VOQ platform to 128.

Why I did it
in SAI 11.x, the MAX ECMP group size on DNX chipsets is set to 64. This is causing issues on VOQ platforms, where ECMP group size in control plane (ebgp+ibgp) is set to 128. We see ECMP group creation failures and eventually leading to orchagent crash.
Related issue: sonic-net/sonic-buildimage#20622

Signed-off-by: Baorong Liu <96146196+baorliu@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

5 participants