[V2,2/2] tests/dynamic_queue: 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
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
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
@@ -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)