[V2,2/2] tests/dynamic_queue: skip the dynamic_queue/test_rxq_chgring_setup and test_txq_chgring_setup on ice

Message ID 20230110155341.18701-2-hongbox.li@intel.com (mailing list archive)
State Accepted
Headers
Series [V2,1/2] conf/test_case_checklist: skip the dynamic_queue/test_rxq_chgring_setup and test_txq_chgring_setup on ice |

Checks

Context Check Description
ci/Intel-dts-format-test success Testing OK
ci/Intel-dts-pylama-test success Testing OK
ci/Intel-dts-suite-test success Testing OK

Commit Message

Li, HongboX Jan. 10, 2023, 3:53 p.m. UTC
  skip the "setup" command on ice, according to the conclusion of the developer, ice does not support the setup queue command

Signed-off-by: Hongbo Li <hongbox.li@intel.com>
---
 tests/TestSuite_dynamic_queue.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
  

Comments

Tu, Lijuan Jan. 10, 2023, 8:02 a.m. UTC | #1
On Tue, 10 Jan 2023 23:53:41 +0800, Hongbo Li <hongbox.li@intel.com> wrote:
> skip the "setup" command on ice, according to the conclusion of the developer, ice does not support the setup queue command
> 
> Signed-off-by: Hongbo Li <hongbox.li@intel.com>

Acked-by: Lijuan Tu <lijuan.tu@intel.com>
Series applied, thanks
  

Patch

diff --git a/tests/TestSuite_dynamic_queue.py b/tests/TestSuite_dynamic_queue.py
index 5a826bd1..e6bad6c9 100644
--- a/tests/TestSuite_dynamic_queue.py
+++ b/tests/TestSuite_dynamic_queue.py
@@ -27,6 +27,7 @@  class TestDynamicQueue(TestCase):
         tester_port = self.tester.get_local_port(self.used_dut_port)
         self.tester_intf = self.tester.get_interface(tester_port)
         self.dut_testpmd = PmdOutput(self.dut)
+        self.is_800_series = self.is_eth_series_nic(800)
 
     def set_up(self):
         # Intel® Ethernet Converged Network Adapter XL710-QDA1 needs more cores to run properly
@@ -127,7 +128,7 @@  class TestDynamicQueue(TestCase):
                 )
 
         for i in range(test_loop):
-            if chgflag == 0:
+            if chgflag == 0 and not self.is_800_series:
                 self.dut_testpmd.execute_cmd("port 0 rxq %d setup" % queue[i])
             self.dut_testpmd.execute_cmd("port 0 rxq %d start" % queue[i])
 
@@ -185,7 +186,7 @@  class TestDynamicQueue(TestCase):
                     chk_qringsize == chg_qringsize,
                     "Fail to change ring size at runtime!",
                 )
-            if chgflag == 0:
+            if chgflag == 0 and not self.is_800_series:
                 self.dut_testpmd.execute_cmd("port 0 txq %d setup" % queue)
 
             self.dut_testpmd.execute_cmd("port 0 txq %d start" % queue)