Skip to content

[Mellanox][DualTor] Skip dualtor ecn test cases for inner dscp 2 and 6 on Nvidia platforms.#9001

Merged
ZhaohuiS merged 1 commit intosonic-net:masterfrom
congh-nvidia:skip_dualtor_ecn
Sep 27, 2023
Merged

[Mellanox][DualTor] Skip dualtor ecn test cases for inner dscp 2 and 6 on Nvidia platforms.#9001
ZhaohuiS merged 1 commit intosonic-net:masterfrom
congh-nvidia:skip_dualtor_ecn

Conversation

@congh-nvidia
Copy link
Copy Markdown
Contributor

@congh-nvidia congh-nvidia commented Jul 17, 2023

Description of PR

Summary:
In the dualtor scenario, when dscp remapping is enabled and packet with dscp 2 or 6 is received by the standby tor, the mapping behavior is different between Nvidia and other vendors.
On Nvidia platforms, the downstream packet with dscp 2 or 6 on the standby tor will be encapsulated with the same 2 or 6 outer dscp and bounced back to the tunnel as lossless packet. And this behavior will cause the dualtor ecn test fail.
Actually, this is not considered as a valid use case, the dscp 2 and 6 should be reserved for the remapped tunnel traffic. And this has been discussed and confirmed with the Community.
So, we need to skip the cases for dscp 2 and 6 on Nvidia platforms when dscp remapping is enabled.

Type of change

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

Back port request

  • 201911
  • 202012
  • 202205
  • 202305

Approach

What is the motivation for this PR?

Skip the dualtor ecn test cases for dscp 2 and 6 on Nvidia platforms when dscp remapping is enabled.

How did you do it?

Add the skip logic in the test cases.

How did you verify/test it?

By running the test on Nvidia 4600c dualtor testbed.

Any platform specific information?

Supported testbed topology if it's a new test case?

Documentation

In the dualtor scenario, when dscp remapping is enabled and packet with dscp 2 or 6 is received by the standby tor, the mapping behavior is different between Nvidia and other vendors, so the test cases fail on Nvidia platforms.
Actually, this is not considered as a valid use case, the dscp 2 and 6 should be reserved for the remapped packets. And this has been confirmed with MSFT, so skip the cases for dscp 2 and 6 on Nvidia platforms when dscp remapping is enabled.

Change-Id: Icdf19a7191d25c36bdd4cdc659e96297f924abf7
@congh-nvidia congh-nvidia changed the title Skip dualtor ecn test cases for inner dscp 2 and 6 on Nvidia platforms. [Nvidia][DualTor] Skip dualtor ecn test cases for inner dscp 2 and 6 on Nvidia platforms. Jul 17, 2023
@congh-nvidia
Copy link
Copy Markdown
Contributor Author

/azpw run

@mssonicbld
Copy link
Copy Markdown
Collaborator

/AzurePipelines run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@liat-grozovik
Copy link
Copy Markdown
Collaborator

@stephenxs please review as well
@ayurkiv-nvda FYI

@liat-grozovik liat-grozovik changed the title [Nvidia][DualTor] Skip dualtor ecn test cases for inner dscp 2 and 6 on Nvidia platforms. [Mellanox][DualTor] Skip dualtor ecn test cases for inner dscp 2 and 6 on Nvidia platforms. Aug 27, 2023
@liat-grozovik
Copy link
Copy Markdown
Collaborator

@bingwang-ms FYI

@bingwang-ms
Copy link
Copy Markdown
Collaborator

LGTM. @ZhaohuiS Can you please also help review? Thanks

@mssonicbld
Copy link
Copy Markdown
Collaborator

@congh-nvidia PR conflicts with 202205 branch

mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Sep 27, 2023
In the dualtor scenario, when dscp remapping is enabled and packet with dscp 2 or 6 is received by the standby tor, the mapping behavior is different between Nvidia and other vendors, so the test cases fail on Nvidia platforms.
Actually, this is not considered as a valid use case, the dscp 2 and 6 should be reserved for the remapped packets. And this has been confirmed with MSFT, so skip the cases for dscp 2 and 6 on Nvidia platforms when dscp remapping is enabled.

Change-Id: Icdf19a7191d25c36bdd4cdc659e96297f924abf7
@mssonicbld
Copy link
Copy Markdown
Collaborator

Cherry-pick PR to 202305: #10151

mssonicbld pushed a commit that referenced this pull request Sep 27, 2023
In the dualtor scenario, when dscp remapping is enabled and packet with dscp 2 or 6 is received by the standby tor, the mapping behavior is different between Nvidia and other vendors, so the test cases fail on Nvidia platforms.
Actually, this is not considered as a valid use case, the dscp 2 and 6 should be reserved for the remapped packets. And this has been confirmed with MSFT, so skip the cases for dscp 2 and 6 on Nvidia platforms when dscp remapping is enabled.

Change-Id: Icdf19a7191d25c36bdd4cdc659e96297f924abf7
AharonMalkin pushed a commit to AharonMalkin/sonic-mgmt that referenced this pull request Jan 25, 2024
In the dualtor scenario, when dscp remapping is enabled and packet with dscp 2 or 6 is received by the standby tor, the mapping behavior is different between Nvidia and other vendors, so the test cases fail on Nvidia platforms.
Actually, this is not considered as a valid use case, the dscp 2 and 6 should be reserved for the remapped packets. And this has been confirmed with MSFT, so skip the cases for dscp 2 and 6 on Nvidia platforms when dscp remapping is enabled.

Change-Id: Icdf19a7191d25c36bdd4cdc659e96297f924abf7
@congh-nvidia congh-nvidia deleted the skip_dualtor_ecn branch October 17, 2024 03:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants