[dts] [PATCH] TestSuite_generic_filter.py: Max packet lenght supported is 9200 for cavium_a063 and cavium_a064

nareddy at marvell.com nareddy at marvell.com
Fri Oct 25 08:29:09 CEST 2019


From: Praneeth Reddy <nareddy at marvell.com>

For cavium_a063 and cavium_a064 setting max packet lenght to 9200

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

diff --git a/tests/TestSuite_generic_filter.py b/tests/TestSuite_generic_filter.py
index 4f14fc1..66b95d2 100644
--- a/tests/TestSuite_generic_filter.py
+++ b/tests/TestSuite_generic_filter.py
@@ -634,8 +634,12 @@ class TestGeneric_filter(TestCase):
     def test_jumbo_frame_size(self):
         
         self.verify(self.nic not in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortville_25g", "fortpark_TLV", "carlsville"], "%s nic not support this test" % self.nic)
-        self.pmdout.start_testpmd(
-            "%s" % self.cores, "--disable-rss --rxq=4 --txq=4 --portmask=%s --nb-cores=4 --nb-ports=1 --mbcache=200 --mbuf-size=2048 --max-pkt-len=9600" % portMask)
+        if (self.nic in ["cavium_a063", "cavium_a064"]):
+            self.pmdout.start_testpmd(
+                "%s" % self.cores, "--disable-rss --rxq=4 --txq=4 --portmask=%s --nb-cores=4 --nb-ports=1 --mbcache=200 --mbuf-size=2048 --max-pkt-len=9200" % portMask)
+        else:
+            self.pmdout.start_testpmd(
+                "%s" % self.cores, "--disable-rss --rxq=4 --txq=4 --portmask=%s --nb-cores=4 --nb-ports=1 --mbcache=200 --mbuf-size=2048 --max-pkt-len=9600" % portMask)
         port = self.tester.get_local_port(valports[0])
         txItf = self.tester.get_interface(port)
 
-- 
1.8.3.1



More information about the dts mailing list