[action] [PR:13976] Degrade PFC storm detection in PFCWD all ports storm test#14092
Merged
bingwang-ms merged 1 commit intosonic-net:202405from Sep 13, 2024
Merged
Conversation
…13976) * Degrade PFC storm detection logic in pfcwd_all_port_storm test
8 tasks
Collaborator
Author
|
Original PR: #13976 |
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 PR is to degrade the PFC storm detection logic on Mellanox platform to workaround the performance issue of leaf-fanout switch.
The
test_pfcwd_all_port_storm.pyis failing because leaf fanout switch can't send enough PFC pause frames to trigger PFC storm after PR sonic-net/sonic-swss#3036 .There are different workaround method on Onyx and Mellanox-SONiC leaf-fanout, but there is no workaround for DUT that is not connected to Mellanox leaf-fanout switch.
This PR workaround the issue by copying the old
pfc_detect_mellanox.luato degrade the PFC storm detection logic to make PFC storm easier to be triggered.As the test is to verify there is no issue when PFCWD is firing on all ports, this change doesn't change the coverage of test.
Type of change
Back port request
Approach
What is the motivation for this PR?
This PR workaround the issue by copying the old
pfc_detect_mellanox.luato degrade the PFC storm detection logic to make PFC storm easier to be triggered.How did you do it?
Cppy the old
pfc_detect_mellanox.luato degrade the PFC storm detection logic.How did you verify/test it?
The change is verified on a Mellanox DUT.
Any platform specific information?
Mellanox platform specific.
Supported testbed topology if it's a new test case?
Not a new test case.
Documentation