[dts] [PATCH] TestSuite_shutdown_api.py: disable-crc-strip is not supported for cavium_a063 and cavium_a064

nareddy at marvell.com nareddy at marvell.com
Mon Aug 12 05:27:13 CEST 2019


From: Praneeth Reddy <nareddy at marvell.com>

Removed disable-crc-strip parameter for cavium_a063 and cavium_a064

Signed-off-by: Praneeth Reddy <nareddy at marvell.com>
---
 tests/TestSuite_shutdown_api.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/tests/TestSuite_shutdown_api.py b/tests/TestSuite_shutdown_api.py
index d31392d..f889e1c 100644
--- a/tests/TestSuite_shutdown_api.py
+++ b/tests/TestSuite_shutdown_api.py
@@ -265,7 +265,10 @@ class TestShutdownApi(TestCase):
         """
         RX_OFFLOAD_KEEP_CRC = 0x10000
 
-        self.pmdout.start_testpmd("Default", "--portmask=%s --port-topology=loop --disable-crc-strip" % utils.create_mask(self.ports), socket=self.ports_socket)
+        if (self.nic in ["cavium_a063", "cavium_a064"]):
+            self.pmdout.start_testpmd("Default", "--portmask=%s --port-topology=loop" % utils.create_mask(self.ports), socket=self.ports_socket)
+        else:
+            self.pmdout.start_testpmd("Default", "--portmask=%s --port-topology=loop --disable-crc-strip" % utils.create_mask(self.ports), socket=self.ports_socket)
         out = self.dut.send_expect("show config rxtx", "testpmd> ")
         Rx_offloads = re.compile('Rx offloads=(.*?)\s+?').findall(out, re.S)
         crc_keep_temp = []
-- 
1.8.3.1



More information about the dts mailing list