[dts] [PATCH V1] tests/generic_filter: fix 128 queues failed

Tu, LijuanX A lijuanx.a.tu at intel.com
Thu Mar 15 07:37:47 CET 2018


Hi peipei,

I think redundant code should be also removed ,when removing the parameter.

-----Original Message-----
From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of lu,peipei
Sent: Thursday, March 15, 2018 2:18 PM
To: dts at dpdk.org
Cc: Lu, PeipeiX <peipeix.lu at intel.com>
Subject: [dts] [PATCH V1] tests/generic_filter: fix 128 queues failed

remove parameter "--total-num-mbufs". the total_mbufs default was 128. please refer to dpdk fadd37f.

Signed-off-by: lu,peipei <peipeix.lu at intel.com>
---
 tests/TestSuite_generic_filter.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_generic_filter.py b/tests/TestSuite_generic_filter.py
index e62e351..276c10f 100644
--- a/tests/TestSuite_generic_filter.py
+++ b/tests/TestSuite_generic_filter.py
@@ -696,7 +696,7 @@ class TestGeneric_filter(TestCase):
             global valports
             total_mbufs = self.request_mbufs(128) * len(valports)
             self.pmdout.start_testpmd(
-                "all", "--disable-rss --rxq=128 --txq=128 --portmask=%s --nb-cores=4 --total-num-mbufs=%d" % (portMask, total_mbufs))
+                "all", "--disable-rss --rxq=128 --txq=128 --portmask=%s --nb-cores=4" % portMask)
             self.dut.send_expect(
                 "set stat_qmap rx %s 0 0" % valports[0], "testpmd> ")
             self.dut.send_expect(
-- 
1.9.3



More information about the dts mailing list