[V1] tests/TestSuite_vmdq:delete invalid code in set_up_all and tear_down_all
Commit Message
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(-)
Comments
Tested-by: Ling, Wei <weix.ling@intel.com>
Regards,
Ling Wei
> -----Original Message-----
> From: lingwei <weix.ling@intel.com>
> Sent: Monday, October 26, 2020 09:40 PM
> To: dts@dpdk.org
> Cc: Ling, WeiX <weix.ling@intel.com>
> Subject: [dts][PATCH V1] tests/TestSuite_vmdq:delete invalid code in
> set_up_all and tear_down_all
Acked-by: Lihong Ma<lihongx.ma@intel.com>
Regards,
Ma,lihong
> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of lingwei
> Sent: Monday, October 26, 2020 9:40 PM
> To: dts@dpdk.org
> Cc: Ling, WeiX <weix.ling@intel.com>
> Subject: [dts] [PATCH V1] tests/TestSuite_vmdq:delete invalid code in
> set_up_all and tear_down_all
>
> 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>
> ---
> > 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>
> Acked-by: Lihong Ma<lihongx.ma@intel.com>
Applied
@@ -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)