[dts] [PATCH] tests/link_flowctrl: fix case/setting agreement

Lijuan Tu lijuan.tu at intel.com
Wed Jun 3 19:03:27 CEST 2020


* fix case setting: test_perf_flowctrl_on_pause_fwd_off
* fix comments

Signed-off-by: Lijuan Tu <lijuan.tu at intel.com>
---
 tests/TestSuite_link_flowctrl.py | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/tests/TestSuite_link_flowctrl.py b/tests/TestSuite_link_flowctrl.py
index ee190d0..0349c11 100644
--- a/tests/TestSuite_link_flowctrl.py
+++ b/tests/TestSuite_link_flowctrl.py
@@ -367,7 +367,7 @@ class TestLinkFlowctrl(TestCase):
 
     def test_perf_flowctrl_on_pause_fwd_on(self):
         """
-        Disable link flow control and PAUSE frame forwarding
+        Enable link flow control and PAUSE frame forwarding
         """
 
         result = self.pause_frame_loss_test(rx_flow_control='on',
@@ -381,7 +381,7 @@ class TestLinkFlowctrl(TestCase):
 
     def test_perf_flowctrl_on_pause_fwd_off(self):
         """
-        Disable link flow control and enable PAUSE frame forwarding
+        Enable link flow control and disable PAUSE frame forwarding
         """
 
         result = self.pause_frame_loss_test(rx_flow_control='on',
@@ -399,7 +399,7 @@ class TestLinkFlowctrl(TestCase):
         """
 
         result = self.pause_frame_loss_test(rx_flow_control='on',
-                                            tx_flow_control='on',
+                                            tx_flow_control='off',
                                             pause_frame_fwd='off')
 
         self.logger.info("Packet loss: %.3f" % result)
@@ -409,7 +409,7 @@ class TestLinkFlowctrl(TestCase):
 
     def test_perf_flowctrl_off_pause_fwd_on(self):
         """
-        Enable link flow control and disable PAUSE frame forwarding
+        Disable link flow control and enable PAUSE frame forwarding
         """
 
         result = self.pause_frame_loss_test(rx_flow_control='off',
@@ -437,7 +437,7 @@ class TestLinkFlowctrl(TestCase):
 
     def test_perf_flowctrl_tx_on(self):
         """
-        Disable link flow control and PAUSE frame forwarding
+        Enable only tx link flow control
         """
 
         result = self.pause_frame_loss_test(rx_flow_control='off',
-- 
1.8.3.1



More information about the dts mailing list