From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id AC17C58F7 for ; Tue, 17 Nov 2015 10:45:33 +0100 (CET) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga103.jf.intel.com with ESMTP; 17 Nov 2015 01:45:33 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,307,1444719600"; d="scan'208";a="840414943" Received: from unknown (HELO dpdk-fedora20.icx.intel.com) ([10.238.55.12]) by fmsmga001.fm.intel.com with ESMTP; 17 Nov 2015 01:45:33 -0800 From: Lijuan Tu To: dts@dpdk.org Date: Tue, 17 Nov 2015 17:41:01 +0800 Message-Id: <1447753261-2773-1-git-send-email-lijuanx.a.tu@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH]Test suite generic_filter: reduce cores to run pmd on 32bit system X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2015 09:45:34 -0000 Signed-off-by: Lijuan Tu --- tests/TestSuite_generic_filter.py | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/tests/TestSuite_generic_filter.py b/tests/TestSuite_generic_filter.py index 26abea2..0e3b282 100644 --- a/tests/TestSuite_generic_filter.py +++ b/tests/TestSuite_generic_filter.py @@ -201,7 +201,7 @@ class TestGeneric_filter(TestCase): """ self.verify(self.nic in ["niantic", "kawela_4", "bartonhills", "powerville"], "%s nic not support syn filter" % self.nic) self.pmdout.start_testpmd( - "all", "--disable-rss --rxq=4 --txq=4 --portmask=%s --nb-cores=8 --nb-ports=1" % portMask) + "1S/4C/1T", "--disable-rss --rxq=4 --txq=4 --portmask=%s --nb-cores=3 --nb-ports=1" % portMask) self.port_config() self.dut.send_expect( "syn_filter %s add priority high queue 2" % valports[0], "testpmd> ") @@ -239,7 +239,7 @@ class TestGeneric_filter(TestCase): priority filter """ self.pmdout.start_testpmd( - "all", "--disable-rss --rxq=4 --txq=4 --portmask=%s --nb-cores=8 --nb-ports=1" % portMask) + "1S/4C/1T", "--disable-rss --rxq=4 --txq=4 --portmask=%s --nb-cores=3 --nb-ports=1" % portMask) self.port_config() if self.nic == "niantic": @@ -304,7 +304,7 @@ class TestGeneric_filter(TestCase): """ if self.nic in ["niantic", "kawela_4"]: self.pmdout.start_testpmd( - "all", "--disable-rss --rxq=4 --txq=4 --portmask=%s --nb-cores=8 --nb-ports=1" % portMask) + "1S/4C/1T", "--disable-rss --rxq=4 --txq=4 --portmask=%s --nb-cores=3 --nb-ports=1" % portMask) self.port_config() mask = ['0x1f', '0x0'] @@ -369,7 +369,7 @@ class TestGeneric_filter(TestCase): "powerville", "fortville_eagle", "fortville_spirit", "fortville_spirit_single"], "%s nic not support syn filter" % self.nic) self.pmdout.start_testpmd( - "all", "--disable-rss --rxq=4 --txq=4 --portmask=%s --nb-cores=8 --nb-ports=1" % portMask) + "1S/4C/1T", "--disable-rss --rxq=4 --txq=4 --portmask=%s --nb-cores=3 --nb-ports=1" % portMask) self.port_config() self.ethertype_filter = "on" ethertype = "0x0806" @@ -406,7 +406,7 @@ class TestGeneric_filter(TestCase): def test_multiple_filters_10GB(self): if self.nic == "niantic": self.pmdout.start_testpmd( - "all", "--disable-rss --rxq=4 --txq=4 --portmask=%s --nb-cores=8 --nb-ports=1" % portMask) + "1S/4C/1T", "--disable-rss --rxq=4 --txq=4 --portmask=%s --nb-cores=3 --nb-ports=1" % portMask) self.port_config() self.dut.send_expect( "syn_filter %s add priority high queue 1" % valports[0], "testpmd> ") @@ -490,7 +490,7 @@ class TestGeneric_filter(TestCase): if self.nic in ["powerville", "bartonhills"]: self.pmdout.start_testpmd( - "all", "--disable-rss --rxq=4 --txq=4 --portmask=%s --nb-cores=8 --nb-ports=1" % portMask) + "1S/4C/1T", "--disable-rss --rxq=4 --txq=4 --portmask=%s --nb-cores=3 --nb-ports=1" % portMask) self.port_config() self.dut.send_expect( "2tuple_filter %s add dst_port 64 protocol 0x11 mask 1 tcp_flags 0 priority 3 queue 1" % valports[0], "testpmd> ") @@ -525,7 +525,7 @@ class TestGeneric_filter(TestCase): masks = ['000C', '000C'] self.pmdout.start_testpmd( - "all", "--disable-rss --rxq=4 --txq=4 --portmask=%s --nb-cores=8 --nb-ports=1" % portMask) + "1S/4C/1T", "--disable-rss --rxq=4 --txq=4 --portmask=%s --nb-cores=3 --nb-ports=1" % portMask) self.port_config() for i in [0, 1]: if i == 0: @@ -578,7 +578,7 @@ class TestGeneric_filter(TestCase): if self.nic in ["powerville", "kawela_4", "bartonhills"]: self.pmdout.start_testpmd( - "all", "--disable-rss --rxq=4 --txq=4 --portmask=%s --nb-cores=8 --nb-ports=1" % portMask) + "1S/4C/1T", "--disable-rss --rxq=4 --txq=4 --portmask=%s --nb-cores=3 --nb-ports=1" % portMask) self.port_config() self.dut.send_expect( "syn_filter %s add priority high queue 1" % valports[0], "testpmd> ") @@ -622,7 +622,7 @@ class TestGeneric_filter(TestCase): self.verify(self.nic not in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single"], "%s nic not support this test" % self.nic) self.pmdout.start_testpmd( - "all", "--disable-rss --rxq=4 --txq=4 --portmask=%s --nb-cores=8 --nb-ports=1 --mbcache=200 --mbuf-size=2048 --max-pkt-len=9600" % portMask) + "1S/4C/1T", "--disable-rss --rxq=4 --txq=4 --portmask=%s --nb-cores=3 --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) @@ -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=8 --total-num-mbufs=%d" % (portMask, total_mbufs)) + "1S/4C/1T", "--disable-rss --rxq=128 --txq=128 --portmask=%s --nb-cores=3 --total-num-mbufs=%d" % (portMask, total_mbufs)) self.dut.send_expect( "set stat_qmap rx %s 0 0" % valports[0], "testpmd> ") self.dut.send_expect( @@ -748,7 +748,7 @@ class TestGeneric_filter(TestCase): def test_perf_generic_filter_perf(self): self.pmdout.start_testpmd( - "all", "--disable-rss --rxq=4 --txq=4 --portmask=%s --nb-cores=8 --nb-ports=1" % portMask) + "1S/4C/1T", "--disable-rss --rxq=4 --txq=4 --portmask=%s --nb-cores=3 --nb-ports=1" % portMask) self.port_config() print valports[0], valports[1] tx_port = self.tester.get_local_port(valports[0]) -- 1.9.1