[PFC] Test if PFC can pause lossless priorities#1386
Merged
lguohan merged 11 commits intosonic-net:masterfrom Mar 29, 2020
Merged
[PFC] Test if PFC can pause lossless priorities#1386lguohan merged 11 commits intosonic-net:masterfrom
lguohan merged 11 commits intosonic-net:masterfrom
Conversation
neethajohn
requested changes
Feb 25, 2020
…he absence of PFC pause frames
neethajohn
reviewed
Mar 9, 2020
neethajohn
requested changes
Mar 10, 2020
neethajohn
approved these changes
Mar 23, 2020
yxieca
reviewed
Mar 27, 2020
| return eos_intf_name.replace('Ethernet', 'et').replace('/', '_') | ||
| return eos_intf_name.replace('Ethernet', 'et').replace('/', '_') | ||
|
|
||
| def get_phy_intfs(host_ans): |
Collaborator
There was a problem hiding this comment.
This function should be moved to tests/common/platform/interface_utils.py
But do it with another PR.
yxieca
approved these changes
Mar 27, 2020
Collaborator
yxieca
left a comment
There was a problem hiding this comment.
There are lots of helper functions can be moved to tests/common under various folders. Please put up another PR for coding sharing.
kazinator-arista
pushed a commit
to kazinator-arista/sonic-mgmt
that referenced
this pull request
Mar 4, 2026
…sonic-net#6701) sonic-swss: - [Mux] Route handling based on mux status, kernel tunnel support (sonic-net#1615) - Reduce noise during frequent route update (sonic-net#1624) - Changed Error log to Notice log during FDB flush notification after VLAN delete (sonic-net#1618) - [PortsOrch] Add reference counting to ports for ACL bindings (sonic-net#1614) - [crm]: Ignore unsupported/non-implemented switch attributes (sonic-net#1613) - [Mux] Fix repeating logs in case of tunnel creation fail (sonic-net#1610) sonic-utilities: - [config reload]: Restart mux container (sonic-net#1401) - [storyteller] Enhance the storyteller utility (sonic-net#1400) - [show] Fix int status when portchannel is in the system (sonic-net#1376) - [config][show] cli support for retrieving ber, eye-info and configuring prbs, loopback on Y-cable (sonic-net#1386) - Skip route check for tun0 interfaces (sonic-net#1399) - do not parse stderr to get correct routing stack (sonic-net#1398) - [storyteller] allow storyteller to work on downloaded logs (sonic-net#1388) - [show] Run fwutil with sudo (sonic-net#1364) Signed-off-by: Danny Allen <[email protected]>
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
Signed-off-by: Wei Bai [email protected]
Summary: Two pytest tests:
Type of change
Approach
How did you do it?
Set up the testbed, including (1) copy the PFC packet generator toe the leaf fanout switches, and (2) copying the PTF script to the PTF container.
Given a tested interface i on the DUT, we generate PFC pause frames at the leaf fanout to block the lossless priority p of this interface.
The PTF script transmits two packets which should leave DUT from the interface i. One packet is mapped to priority p. The other packet is mapped to any other priority.
The PTF script should only receive the packet that is not mapped to priority p.
How did you verify/test it?
I ran this test case in our testbed.
Any platform specific information?
N/A
Supported testbed topology if it's a new test case?
Currently, the test case only supports T0 topology. I will add more topologies in the future.
Documentation