-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[FRR]Setting multipath size to 514 and disabling bgp-vnc for optimization #20744
Merged
Merged
Changes from 1 commit
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
524e39b
[FRR]Setting multipath size to 512 and disabling bgp-vnc for optimiza…
dgsudharsan f52dc6a
Merge remote-tracking branch 'upstream/master' into frr_scale_patches
dgsudharsan 84ec77e
Merge remote-tracking branch 'upstream/master' into frr_scale_patches
dgsudharsan 681e91e
Aligning with FRR 10.0.1
dgsudharsan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
src/sonic-frr/patch/0054-Updating-rules-to-set-multipath-to-512-and-removing-.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
From ca51d39440db46e766a81987f407ef794d697876 Mon Sep 17 00:00:00 2001 | ||
From: dgsudharsan <[email protected]> | ||
Date: Fri, 8 Nov 2024 22:14:31 +0000 | ||
Subject: [PATCH] Updating rules to set multipath to 512 and removing bgp vnc | ||
|
||
|
||
diff --git a/debian/rules b/debian/rules | ||
index aa13106fec..e280b6c45b 100755 | ||
--- a/debian/rules | ||
+++ b/debian/rules | ||
@@ -68,8 +68,7 @@ override_dh_auto_configure: | ||
--disable-protobuf \ | ||
--disable-zeromq \ | ||
--enable-ospfapi \ | ||
- --enable-bgp-vnc \ | ||
- --enable-multipath=256 \ | ||
+ --enable-multipath=512 \ | ||
\ | ||
--enable-user=frr \ | ||
--enable-group=frr \ | ||
-- | ||
2.43.2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is the use case to have 512 ECMP paths from FRR.
Currently FRR uses uint8 for num paths.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is fixed by FRR FRRouting/frr#16967. We will be taking this fix once FRR upgrade is done. We do have some specific use case scenarios where the number of nexthops might scale more than 256. So we are setting to 512 here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can refer to the topology here sonic-net/sonic-mgmt#15355