[V1] test_plans/vmdq_test_plan:modify testplan and testcase

Message ID 20220112055446.213883-1-peng1x.zhang@intel.com (mailing list archive)
State Accepted
Headers
Series [V1] test_plans/vmdq_test_plan:modify testplan and testcase |

Checks

Context Check Description
ci/Intel-dts-doc-test success Testing OK
ci/Intel-dts-suite-test warning SKIPPED

Commit Message

Zhang, Peng1X Jan. 12, 2022, 5:54 a.m. UTC
  Delete useless change of 'MAX_QUEUES' for testplan and testcase because the 'MAX_QUEUES' is already 1024 in current dpdk.

Signed-off-by: peng,zhang <peng1x.zhang@intel.com>
---
 test_plans/vmdq_test_plan.rst | 5 -----
 tests/TestSuite_vmdq.py       | 2 --
 2 files changed, 7 deletions(-)
  

Comments

Zhang, Peng1X Jan. 12, 2022, 7:26 a.m. UTC | #1
-----Original Message-----
From: Zhang, Peng1X <peng1x.zhang@intel.com> 
Sent: Wednesday, January 12, 2022 1:55 PM
To: dts@dpdk.org
Cc: Zhang, Peng1X <peng1x.zhang@intel.com>; peng
Subject: [dts] [PATCH V1] test_plans/vmdq_test_plan:modify testplan and testcase

Delete useless change of 'MAX_QUEUES' for testplan and testcase because the 'MAX_QUEUES' is already 1024 in current dpdk.

Signed-off-by: peng,zhang <peng1x.zhang@intel.com>

Tested-by: Peng Zhang <peng1x.zhang@intel.com>
  
Tu, Lijuan Jan. 12, 2022, 7:43 a.m. UTC | #2
> -----Original Message-----
> From: peng,zhang <peng1x.zhang@intel.com>
> Sent: 2022年1月12日 13:55
> To: dts@dpdk.org
> Cc: Zhang, Peng1X <peng1x.zhang@intel.com>; peng@dpdk.org
> Subject: [dts] [PATCH V1] test_plans/vmdq_test_plan:modify testplan and
> testcase
> 
> Delete useless change of 'MAX_QUEUES' for testplan and testcase because the
> 'MAX_QUEUES' is already 1024 in current dpdk.
> 
> Signed-off-by: peng,zhang <peng1x.zhang@intel.com>

Applied
  

Patch

diff --git a/test_plans/vmdq_test_plan.rst b/test_plans/vmdq_test_plan.rst
index 2734b0c0..ef64823c 100644
--- a/test_plans/vmdq_test_plan.rst
+++ b/test_plans/vmdq_test_plan.rst
@@ -67,11 +67,6 @@  Prerequisites
   52:54:00:12:[port_index]:00 to 52:54:00:12:[port_index]:3e and the VLAN user priority field increments from 0 to 7
   (inclusive) for each VLAN ID. In our case port_index = 0 or 1.
 
--Case config::
-   If test max queues per port 1024, need to set the "CONFIG_RTE_MAX_QUEUES_PER_PORT=1024" in ./config/common_base,
-   and need to set the "define MAX_QUEUES 1024" in ./examples/vmdq/main.c and re-build DPDK.
-   Note: different NIC, the MAX_QUEUES is different, eg: Fortville is 1024.
-
 Test Case: Measure VMDQ pools queues
 ------------------------------------
 1. Put different number of pools: in the case of 10G 82599 Nic is 64, in the case
diff --git a/tests/TestSuite_vmdq.py b/tests/TestSuite_vmdq.py
index 1c8671b5..83da6be0 100644
--- a/tests/TestSuite_vmdq.py
+++ b/tests/TestSuite_vmdq.py
@@ -57,8 +57,6 @@  class TestVmdq(TestCase):
         self.ports_socket = self.dut.get_numa_id(self.dut_ports[0])
 
         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)
         # out = self.dut.send_expect("make -C examples/vmdq", "#", 10)
         out = self.dut.build_dpdk_apps('examples/vmdq')
         self.verify("Error" not in out, "Compilation error")