test suite reviews and discussions
 help / color / mirror / Atom feed
From: Hongbo Li <hongbox.li@intel.com>
To: dts@dpdk.org
Cc: Hongbo Li <hongbox.li@intel.com>
Subject: [dts][PATCH V1 2/2] tests/dynamic_queue: skip the dynamic_queue/test_rxq_chgring_setup and test_txq_chgring_setup on ice
Date: Sat,  7 Jan 2023 02:48:47 +0800	[thread overview]
Message-ID: <20230106184847.4350-2-hongbox.li@intel.com> (raw)
In-Reply-To: <20230106184847.4350-1-hongbox.li@intel.com>

skip 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(-)

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


      reply	other threads:[~2023-01-06 10:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-06 18:48 [dts][PATCH V1 1/2] conf/test_case_checklist: " Hongbo Li
2023-01-06 18:48 ` Hongbo Li [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230106184847.4350-2-hongbox.li@intel.com \
    --to=hongbox.li@intel.com \
    --cc=dts@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).