-
Notifications
You must be signed in to change notification settings - Fork 743
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
[QoS/test_buffer] [Mellanox] Enhance test_buffer #4350
Conversation
This pull request introduces 5 alerts and fixes 1 when merging 52ba581 into b724f7a - view on LGTM.com new alerts:
fixed alerts:
|
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Signed-off-by: Kebo Liu <[email protected]>
Signed-off-by: Kebo Liu <[email protected]>
Signed-off-by: Kebo Liu <[email protected]>
52ba581
to
a28792a
Compare
This pull request introduces 5 alerts and fixes 1 when merging a28792a into e518208 - view on LGTM.com new alerts:
fixed alerts:
|
Signed-off-by: Kebo Liu <[email protected]>
This pull request introduces 5 alerts when merging 21f8a7c into e518208 - view on LGTM.com new alerts:
|
Signed-off-by: Kebo Liu <[email protected]>
@stephenxs could you please review the suggested change? |
Signed-off-by: Kebo Liu <[email protected]>
@neethajohn could you please help to review? |
Signed-off-by: Kebo Liu <[email protected]> Enhance the buffer test with: * implemented the algorithm to calculate the headroom value based on the input port attributes * for SONiC image version higher than 202106, compare the headroom against the calculated result based on the port attributes, for SONiC image version 202106 and before, keep the old way, comparing the values from pg_profile_lookup.ini What is the motivation for this PR? To make the test more accurate regarding the headroom comparison, on new SONiC versions(later than 202106), use the same algorithm implemented in sonic-swss to calculate the expected headroom values instead of look up the pg_profile_lookup.ini. The relevant SONiC headroom calculation change is described in sonic-net/SONiC#870 How did you do it? * implement the same headroom calculating algorithm as in the sonic-swss. * compare the headroom values against the values calculated by the above new algorithm fruition How did you verify/test it? Run buffer regression test on various Mellanox platform Any platform specific information? This change only impacts the Mellanox platform
Signed-off-by: Kebo Liu [email protected]
Description of PR
Summary:
Enhance the buffer test with:
Type of change
Back port request
Approach
What is the motivation for this PR?
To make the test more accurate regarding the headroom comparison, on new SONiC versions(later than 202106), use the same algorithm implemented in sonic-swss to calculate the expected headroom values instead of look up the pg_profile_lookup.ini. The relevant SONiC headroom calculation change is described in sonic-net/SONiC#870
How did you do it?
How did you verify/test it?
Run buffer regression test on various Mellanox platform
Any platform specific information?
This change only impacts the Mellanox platform
Supported testbed topology if it's a new test case?
Documentation