Skip to content

Commit dd4871e

Browse files
Global Pause Test Case (#2198)
* Ixia api server docker depolyment * Global Pause test case * Global Pause Revision History * Global Pause Revision * Global Pause Revision Edit * PFC Global Review comment incorporated * PFC Global Pause Review * PFC Test Plan ( Issue # 2260 )
1 parent 82324be commit dd4871e

1 file changed

Lines changed: 34 additions & 7 deletions

File tree

docs/PFC-test-plan.md

Lines changed: 34 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,17 @@
2020
- [Test Objective](#test-objective-2)
2121
- [Test Configuration](#test-configuration-2)
2222
- [Test Steps](#test-steps-2)
23+
- [Test Case #4 - GLOBAL PAUSE (IEEE 802.3x link level Flow Control)](#test-case-4---global-pause-ieee-8023x-link-level-flow-control)
24+
- [Test Objective](#test-objective-3)
25+
- [Test Configuration](#test-configuration-3)
26+
- [Test Steps](#test-steps-3)
2327

2428
Revision of the Document
2529

2630
| Rev | Date | Author | Change Description |
2731
|:---:|:---------------|:---------------------|:-----------------------------------|
28-
| 0.1 | Aug-28-2020 | Wei Bai, Microsoft<br> Suvendu Mozumdar, Keysight | Initial version of test plan <br> More test in subsequent version |
29-
|
32+
| 0.1 | Aug-28-2020 | Wei Bai, Microsoft<br> Suvendu Mozumdar, Keysight | Initial version of test plan <br> More test in subsequent version |
33+
| 0.2 | Sep-10-2020 | Wei Bai, Microsoft<br> Suvendu Mozumdar, Keysight | Inclusion of test case - 802.3x GLOBAL PAUSE |
3034

3135
## Overview
3236

@@ -150,7 +154,7 @@ properly.
150154

151155
#### Test Configuration
152156

153-
- On SONiC DDevice Under Test (DUT) configure a single lossless priority value Pi. (0 \<= i \<= 7).
157+
- On SONiC Device Under Test (DUT) configure a single lossless priority value Pi. (0 \<= i \<= 7).
154158
- Configure following traffic items on the Keysight device:
155159
1. Test data traffic: A traffic item from the Keysight Tx port to
156160
the Keysight Rx port with lossless priority (DSCP value == Pi).
@@ -159,7 +163,7 @@ properly.
159163
port to the Keysight Rx port with lossy priorities (DSCP value
160164
!= Pi). Traffic should be configured with 50% of line rate.
161165
3. PFC PAUSE storm: Persistent PFC pause frames from the Keysight
162-
Rx port to the Keysight Tx port. The priorities of PFC pause
166+
Rx port to the connected DUT port. The priorities of PFC pause
163167
frames should be same as that of 'Test data traffic'. And the
164168
inter-frame transmission interval should be smaller than
165169
per-frame pause duration.
@@ -198,7 +202,7 @@ properly.
198202
port to the Keysight Rx port with lossy priorities (DSCP value
199203
!= Pi, Pm). Traffic should be configured with 50% line rate.
200204
3. PFC PAUSE storm: Persistent PFC pause frames from the Keysight
201-
Rx port to the Keysight Tx port. The priorities of PFC pause
205+
Rx port to the connected DUT port. The priorities of PFC pause
202206
frames should be same as that of 'Test data traffic'. And the
203207
inter-frame transmission interval should be smaller than
204208
per-frame pause duration.
@@ -228,7 +232,7 @@ Verify Device Under Test (DUT) processes the PFC PAUSE frame with lossy prioriti
228232
#### Test Configuration
229233

230234
- On SONiC Device Under Test (DUT) configure a single lossless priority value Pi (0 \<= i \<=
231-
7).
235+
7).
232236
- Configure following traffic items on the Keysight device:
233237
1. Test data traffic: A traffic item from the Keysight Tx port to
234238
the Keysight Rx port with the lossy priorities (DSCP value !=
@@ -237,7 +241,7 @@ Verify Device Under Test (DUT) processes the PFC PAUSE frame with lossy prioriti
237241
port to the Keysight Rx port with the lossless priority (DSCP
238242
value == Pi). Traffic should be configured with 50% line rate.
239243
3. PFC PAUSE storm: Persistent PFC pause frames from the Keysight
240-
Rx port to the Keysight Tx port. The priorities of PFC pause
244+
Rx port to the connected DUT port. The priorities of PFC pause
241245
frames should be same as that of 'Test data traffic'. And the
242246
inter-frame transmission interval should be smaller than
243247
per-frame pause duration.
@@ -251,3 +255,26 @@ Verify Device Under Test (DUT) processes the PFC PAUSE frame with lossy prioriti
251255
* Keysight Rx port should receive all the 'Background data traffic' as well as 'Test data traffic'. There should not be any loss observed.
252256
5. Stop the PFC PAUSE storm.
253257
6. Repeat the test with a different lossless priority value (!=Pi).
258+
259+
### Test Case #4 - GLOBAL PAUSE (IEEE 802.3x link level Flow Control)
260+
261+
<b>Note</b> : 802.3x link level Flow Control is different than IEEE 802.1Qbb PFC (Priority-based Flow Control)
262+
263+
#### Test Objective
264+
Verify Device Under Test (DUT) processes the GLOBAL PAUSE frame.
265+
266+
#### Test Configuration
267+
- On SONiC Device Under Test (DUT) configure lossless priority of required values Pi ( e.g., 3 and 4. )
268+
- Configure following traffic items on the Keysight device:
269+
1. Test data traffic: A traffic item from the Keysight Tx port to Rx port. The traffic item uses all the 64 DSCP values (0-63). PFC is enabled at all the 8 priorities of Tx port. The traffic demand is 100% line rate.
270+
2. GLOBAL PAUSE storm: Persistent Global pause frames from the Keysight Rx port to the connected DUT port. And the inter-frame transmission interval should be smaller than per-frame pause duration.
271+
272+
#### Test Steps
273+
274+
1. Start GLOBAL PAUSE storm.
275+
2. After a fixed duration (eg. 1 sec), start the Test data traffic.
276+
3. Keep the Test data traffic running for a fixed duration (eg 5 sec) and then stop the traffic item.
277+
4. Stop the GLOBAL PAUSE storm.
278+
5. Verify the following:
279+
* Keysight Rx port should receive all the 'Test data traffic'. There should not be any loss observed. Throughput should be close to link capacity.
280+

0 commit comments

Comments
 (0)