test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] tests/TestSuite_vmdq:delete invalid code in set_up_all and tear_down_all
@ 2020-10-26 13:39 lingwei
  2020-10-26  5:45 ` Ling, WeiX
  2020-10-29  8:15 ` Ma, LihongX
  0 siblings, 2 replies; 4+ messages in thread
From: lingwei @ 2020-10-26 13:39 UTC (permalink / raw)
  To: dts; +Cc: lingwei

delete invalid code in set_up_all and tear_down_all becasue of
CONFIG_RTE_MAX_QUEUES_PER_PORT default is 1024 in new DPDK.

Signed-off-by: lingwei <weix.ling@intel.com>
---
 tests/TestSuite_vmdq.py | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/tests/TestSuite_vmdq.py b/tests/TestSuite_vmdq.py
index dc4f5ae..3f2ccde 100644
--- a/tests/TestSuite_vmdq.py
+++ b/tests/TestSuite_vmdq.py
@@ -56,8 +56,6 @@ class TestVmdq(TestCase):
         self.verify(len(self.dut_ports) >= 2, "Insufficient ports")
         self.ports_socket = self.dut.get_numa_id(self.dut_ports[0])
 
-        self.dut.send_expect("sed -i 's/CONFIG_RTE_MAX_QUEUES_PER_PORT=256/CONFIG_RTE_MAX_QUEUES_PER_PORT=1024/' ./config/common_base", "# ", 5)
-        self.dut.set_build_options({'RTE_MAX_QUEUES_PER_PORT': 1024})
         self.dut.build_install_dpdk(self.target)
         # Update the max queue per port for Fortville.
         self.dut.send_expect("sed -i 's/define MAX_QUEUES 128/define MAX_QUEUES 1024/' ./examples/vmdq/main.c", "#", 5)
@@ -270,8 +268,4 @@ class TestVmdq(TestCase):
         Run after each test suite.
         """
         # resume setting
-        self.dut.send_expect(
-            "sed -i 's/CONFIG_RTE_MAX_QUEUES_PER_PORT=1024/CONFIG_RTE_MAX_QUEUES_PER_PORT=256/' ./config/common_base",
-            "# ", 5)
-        self.dut.set_build_options({'RTE_MAX_QUEUES_PER_PORT': 256})
         self.dut.build_install_dpdk(self.target)
-- 
2.17.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-11-03  2:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-26 13:39 [dts] [PATCH V1] tests/TestSuite_vmdq:delete invalid code in set_up_all and tear_down_all lingwei
2020-10-26  5:45 ` Ling, WeiX
2020-10-29  8:15 ` Ma, LihongX
2020-11-03  2:15   ` Tu, Lijuan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).