-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Fine Grained ECMP doesn't distribute flows according to configured banks #5648
Comments
@nazariig can you try with "bank" instead of "Bank" note lack of capitalization of B, I will fix the schema/example in the documentation.
|
@anish-n Sure. I will check and update. Also, can you please elaborate on the following:
In the example above we have:
Which is totally different, since i would expect to see something like |
@nazariig 0...127 is expected, since the real hash bucket size in hardware is 128(vs 12 requested by the user in config_db entry), so fg_ecmp orch populates next-hop entries per the 128 size(vs 12 size). |
@anish-n I have retested with the change you suggested - no issues observed. Please update the HLD with working example. |
Description
Fine Grained ECMP doesn't distribute flows according to configured banks.
The behavior differs to what is described by HLD.
Steps to reproduce the issue:
Ethernet16
Note: Flow is expected at egress port
Ethernet20
sinceEthernet16
is disabledDescribe the results you received:
According to HLD (https://github.com/Azure/SONiC/blob/master/doc/ecmp/fine_grained_next_hop_hld.md):
Config DB:
State DB:
In fact we have
and
Describe the results you expected:
Banks and ranges should be calculated according to the configured values.
Flows distribution should happen only within the configured banks.
Additional information you deem important (e.g. issue happens only occasionally):
System log: syslog.txt
Redis dump: config.txt
Automation test passes: sonic-net/sonic-mgmt#1788
Output of
show version
:Attach debug file
sudo generate_dump
:The text was updated successfully, but these errors were encountered: