Skip to content

[202205] [Mellanox] Update dscp remapping cases for Nvidia platforms#8713

Merged
wangxin merged 1 commit intosonic-net:202205from
congh-nvidia:dscp_remapping_202205
Jul 10, 2023
Merged

[202205] [Mellanox] Update dscp remapping cases for Nvidia platforms#8713
wangxin merged 1 commit intosonic-net:202205from
congh-nvidia:dscp_remapping_202205

Conversation

@congh-nvidia
Copy link
Copy Markdown
Contributor

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

  • Bug fix
  • Testbed and Framework(new/improvement)
  • Test case(new/improvement)

Back port request

  • 201911
  • 202012
  • 202205

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

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.
@wangxin wangxin merged commit 5f92684 into sonic-net:202205 Jul 10, 2023
@congh-nvidia congh-nvidia deleted the dscp_remapping_202205 branch July 17, 2023 04:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants