-
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
Updated total headroom pool size to accommodate 100G ports on T2 uplinks #16690
Conversation
@vmittal-msft can you fix the test failures?FAIL: test_qos_and_buffer_nokia_ixr7250e_36x100g_render_template (tests.test_j2files.TestJ2Files)Traceback (most recent call last): Let's not wait until all tests stop then address the test failures... |
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.
LGTM
@@ -22,7 +22,7 @@ | |||
"size": "6441610000", | |||
"type": "both", | |||
"mode": "dynamic", | |||
"xoff": "7785676" | |||
"xoff": "396096307" |
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's reason that xoff headroom needs to be substantially increased?
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 size was calculated assuming 100g is used for downlink so cable length was 2km whereas it can also be used for uplink (cable length - 120km). so we need to do calculation based on 120km not 2km. Although it will be some wastage for 2km scenario but it should cover both cases.
@ansrajpu-git, can you share if there is any dependency in the order of PR needs to be merged between this one and the one you mentioned (sonic-net/sonic-mgmt#10146)? |
This has to go first before my PR#10146 |
@vmittal-msft PR conflicts with 202211 branch |
…n T2 uplinks (sonic-net#16690) Microsoft ADO (25266920) sonic-mgmt xoff test was failing for [100g,120km]. Needed to update total headroom pool size when 100G line card is used as T2 uplink. This size was calculated assuming 100g is used for downlink so cable length was 2km whereas it can also be used for uplink (cable length - 120km). so we need to do calculation based on 120km not 2km. Although it will be some wastage for 2km scenario but it should cover both cases.
Cherry-pick PR to 202205: #16712 |
…n T2 uplinks (#16690) Microsoft ADO (25266920) sonic-mgmt xoff test was failing for [100g,120km]. Needed to update total headroom pool size when 100G line card is used as T2 uplink. This size was calculated assuming 100g is used for downlink so cable length was 2km whereas it can also be used for uplink (cable length - 120km). so we need to do calculation based on 120km not 2km. Although it will be some wastage for 2km scenario but it should cover both cases.
…n T2 uplinks (sonic-net#16690) Microsoft ADO (25266920) sonic-mgmt xoff test was failing for [100g,120km]. Needed to update total headroom pool size when 100G line card is used as T2 uplink. This size was calculated assuming 100g is used for downlink so cable length was 2km whereas it can also be used for uplink (cable length - 120km). so we need to do calculation based on 120km not 2km. Although it will be some wastage for 2km scenario but it should cover both cases.
Cherry-pick PR to 202305: #16798 |
Why I did it
sonic-mgmt xoff test was failing for [100g,120km]. Needed to update total headroom pool size when 100G line card is used as T2 uplink.
Work item tracking
How I did it
Updated total headroom size in buffer config
How to verify it
Verified with sonic-mgmt xoff test passing for [100g,120km]
Which release branch to backport (provide reason below if selected)
Tested branch (Please provide the tested image version)
Description for the changelog
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)