[dts] [PATCH] TestSuite_link_flowctrl.py: pause_frame_fwd is not supported for cavium_a064

nareddy at marvell.com nareddy at marvell.com
Fri Aug 9 06:29:48 CEST 2019


From: Praneeth Reddy <nareddy at marvell.com>

removed pause_frame_fwd parameter and also disabled verifying packets for cavium_a064

Signed-off-by: Praneeth Reddy <nareddy at marvell.com>
---
 tests/TestSuite_link_flowctrl.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/TestSuite_link_flowctrl.py b/tests/TestSuite_link_flowctrl.py
index 841951f..4229aa4 100644
--- a/tests/TestSuite_link_flowctrl.py
+++ b/tests/TestSuite_link_flowctrl.py
@@ -168,7 +168,7 @@ class TestLinkFlowctrl(TestCase):
         tgenInput = []
         tgenInput.append((tester_tx_port, tester_rx_port, "test.pcap"))
 
-        if (self.nic in ["cavium_a063"]):
+        if (self.nic in ["cavium_a063", "cavium_a064"]):
              self.dut.send_expect("set flow_ctrl rx %s tx %s 300 50 10 1 autoneg %s %d " % (
                              flow_control,
                              flow_control,
@@ -277,7 +277,7 @@ class TestLinkFlowctrl(TestCase):
         PAUSE Frames must not be received by testpmd
         """
 
-        if (self.nic in ["cavium_a063"]):
+        if (self.nic in ["cavium_a063", "cavium_a064"]):
             pause_frames = [self.build_pause_frame(0),
                             self.build_pause_frame(1)]
         else:
@@ -296,7 +296,7 @@ class TestLinkFlowctrl(TestCase):
         PAUSE Frames must not be received by testpmd
         """
 
-        if (self.nic in ["cavium_a063"]):
+        if (self.nic in ["cavium_a063", "cavium_a064"]):
             pause_frames = [self.build_pause_frame(0),
                             self.build_pause_frame(1)]
         else:
-- 
1.8.3.1



More information about the dts mailing list