[V1] tests/TestSuite_shutdown_api/check_rxtx_desc_status_add_foxville_and_powerville_queue_num
diff mbox series

Message ID 20200728030055.13502-1-linglix.chen@intel.com
State New
Headers show
Series
  • [V1] tests/TestSuite_shutdown_api/check_rxtx_desc_status_add_foxville_and_powerville_queue_num
Related show

Commit Message

Chen, LingliX July 28, 2020, 3 a.m. UTC
The maximum number of queues for foxville is 4,for powerville is 8

Signed-off-by: Chen Linglix <linglix.chen@intel.com>
---
 tests/TestSuite_shutdown_api.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Comments

Chen, LingliX July 28, 2020, 3:29 a.m. UTC | #1
Tested-by:  Chen, LingliX <linglix.chen@intel.com>

Regards,
Chen, LingliX

-----Original Message-----
From: Chen, LingliX 
Sent: Tuesday, July 28, 2020 11:01 AM
To: dts@dpdk.org
Cc: Chen, LingliX <linglix.chen@intel.com>
Subject: [dts][PATCH V1] tests/TestSuite_shutdown_api/check_rxtx_desc_status_add_foxville_and_powerville_queue_num

The maximum number of queues for foxville is 4,for powerville is 8

Signed-off-by: Chen Linglix <linglix.chen@intel.com>
---
 tests/TestSuite_shutdown_api.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/TestSuite_shutdown_api.py b/tests/TestSuite_shutdown_api.py index 0eead85..edd1dcf 100644
--- a/tests/TestSuite_shutdown_api.py
+++ b/tests/TestSuite_shutdown_api.py
@@ -797,8 +797,10 @@ class TestShutdownApi(TestCase):
         When tx_descriptor_status is used, status can be “FULL”, “DONE” or “UNAVAILABLE.”
         """
         queue_num=16
-        if self.nic in ["springville"]:
+        if self.nic in ["springville","foxville"]:
             queue_num=4
+        if self.nic in ["powerville"]:
+            queue_num=8
         self.pmdout.start_testpmd("Default",
                                  "--portmask=%s --port-topology=loop --txq=%s --rxq=%s --txd=4096 --rxd=4096"
                                  % (utils.create_mask(self.ports),queue_num,queue_num), socket=self.ports_socket)
--
1.8.3.1

Patch
diff mbox series

diff --git a/tests/TestSuite_shutdown_api.py b/tests/TestSuite_shutdown_api.py
index 0eead85..edd1dcf 100644
--- a/tests/TestSuite_shutdown_api.py
+++ b/tests/TestSuite_shutdown_api.py
@@ -797,8 +797,10 @@  class TestShutdownApi(TestCase):
         When tx_descriptor_status is used, status can be “FULL”, “DONE” or “UNAVAILABLE.”
         """
         queue_num=16
-        if self.nic in ["springville"]:
+        if self.nic in ["springville","foxville"]:
             queue_num=4
+        if self.nic in ["powerville"]:
+            queue_num=8
         self.pmdout.start_testpmd("Default",
                                  "--portmask=%s --port-topology=loop --txq=%s --rxq=%s --txd=4096 --rxd=4096"
                                  % (utils.create_mask(self.ports),queue_num,queue_num), socket=self.ports_socket)