Skip to content

Global Pause Test Case #2198

Merged
neethajohn merged 11 commits intosonic-net:masterfrom
SubhajitPalKeysight:PFC
Oct 1, 2020
Merged

Global Pause Test Case #2198
neethajohn merged 11 commits intosonic-net:masterfrom
SubhajitPalKeysight:PFC

Conversation

@SubhajitPalKeysight
Copy link
Contributor

Description of PR

Summary:
Fixes # 2197 ( Addition of Test Case - Global Pause into PFC Test Plan )

Type of change

Documentation of Test Case

Test Case - Objective
Test Case - Configuration
Test Steps

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

#### Test Configuration

- On SONiC Device Under Test (DUT) configure lossless priority of all values Pi (0 \<= i \<=
7).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't need to enable PFC on all the priorities. We just need to enable PFC on required priorities, e.g., 3 and 4.

Copy link
Contributor Author

@SubhajitPalKeysight SubhajitPalKeysight Sep 14, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed the description to reflect priorities of 3 and 4

7).
- Configure following traffic items on the Keysight device:
1. Test data traffic: A traffic item from the Keysight Tx port with all the 8 priorities Pi (0<= i <= 7), DSCP values from (0 - 63) and enable flow group by PFC Queue. Traffic should be configured with 100% line rate.
2. GLOBAL PAUSE storm: Persistent Global pause frames from the Keysight Rx port to the Keysight Tx port. And the inter-frame transmission interval should be smaller than per-frame global pause duration.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

per-frame global pause duration -> per-frame pause duration

Copy link
Contributor Author

@SubhajitPalKeysight SubhajitPalKeysight Sep 14, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Modification done as "per-frame global pause duration -> per-frame pause duration"

3. Keep the Test data traffic running for a fixed duration (eg 5sec) and then stop the traffic item.
4. Verify the following:
* Keysight Rx port should receive all the 'Test data traffic'. There should not be any loss observed. Throughput should be close to link capacity.
* SONiC DUT will discard all Global pause frames.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no way to check if SONiC will discard all global pause frames.

4. Verify the following:
* Keysight Rx port should receive all the 'Test data traffic'. There should not be any loss observed. Throughput should be close to link capacity.
* SONiC DUT will discard all Global pause frames.
5. Stop the GLOBAL PAUSE storm. No newline at end of file
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change the order of 4 and 5.

Copy link
Contributor Author

@SubhajitPalKeysight SubhajitPalKeysight Sep 14, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got your point. Changed the point as suggested.

@baiwei0427
Copy link
Contributor

retest this please

@neethajohn neethajohn merged commit dd4871e into sonic-net:master Oct 1, 2020
kazinator-arista pushed a commit to kazinator-arista/sonic-mgmt that referenced this pull request Mar 4, 2026
* [202012] - sonic-swss submodule update to include following commits:

fca407a (HEAD) [VNET]Fixing nexthop group delete during route change (sonic-net#2198)
a9b6b47 [vxlan] Remove tunnel map objects on VNET tunnel removal (sonic-net#2208)
74e9b9f [FdbOrch] SAI_FDB_EVENT_MOVE generates update with empty update.entry.port_name (sonic-net#2201)
0a99445 [202012][BFD]Registering BFD state change callback during session creation (sonic-net#2203)
aebe4a1 [VS test] skip dpb flaky test (sonic-net#2195) (sonic-net#2207)
kazinator-arista pushed a commit to kazinator-arista/sonic-mgmt that referenced this pull request Mar 4, 2026
5bb99c7 Validate LAG has members before mirror session create (sonic-net#2130)
ec6c8af [vxlan] Remove tunnel map objects on VNET tunnel removal (sonic-net#2150)
7e7db19 [BFD]Registering BFD state change callback during session creation (sonic-net#2202)
618fe07 [VNET]Fixing nexthop group delete during route change (sonic-net#2198)
91b66df [portsorch]: Prevent LAG member configuration when port has active ACL binding (sonic-net#2165)
29de9d0 Remove redundant and problematic code to skip "pool" field in buffer profile handling (sonic-net#2197)
ded0b45 [PBH] Implement Edit Flows (sonic-net#2169)
2ee0f49 [neighsyncd] increase neighsyncd timeout (sonic-net#2209)
a0160c0 [QosOrch] The notifications cannot be drained in QosOrch in case the first one needs to retry (sonic-net#2206)
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.

3 participants