[202205] [Mellanox] Update dscp remapping cases for Nvidia platforms#8713
Merged
wangxin merged 1 commit intosonic-net:202205from Jul 10, 2023
Merged
Conversation
This commit contains the fix for two test cases in DSCP remapping test. The reason that we need this fix is Nvidia implementation for DSCP remapping is different from Community due to the limitation that Nvidia platforms can't do the remap directly on tunnel. For test case test_tunnel_decap_dscp_to_pg_mapping: 1. Add a new mapping file tunnel_qos_map_nvidia.json and use it when testing Nvidia platforms. 2. Use cell size 144 for Nvidia platforms. 3. Use outer DSCP instead of inner DSCP. 4. Add some logs for easier debugging. For the xoff test case: 1. Add test data in qos.yml file for 4600C. 2. Stop packet aging in buffer before test. 3. Skip filling the leak on Nvidia platforms for it is not needed. 4. Use cell size 144 and packet length 300, small packets will cause descriptor exhaustion.
6 tasks
wangxin
approved these changes
Jul 10, 2023
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description of PR
Summary:
This is the manual cherry-pick of PR #8317 to 202205 branch due to merge conflicts.
For details, please see the original PR.
Type of change
Back port request
Approach
What is the motivation for this PR?
How did you do it?
How did you verify/test it?
Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation