[dts][PATCH V2 2/2] tests/dynamic_queue: skip the dynamic_queue/test_rxq_chgring_setup and test_txq_chgring_setup on ice
Hongbo Li
hongbox.li at intel.com
Tue Jan 10 16:53:41 CET 2023
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 at intel.com>
---
tests/TestSuite_dynamic_queue.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
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)
--
2.17.1
More information about the dts
mailing list