test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] tests/TestSuite_shutdown_api/check_rxtx_desc_status_add_foxville_and_powerville_queue_num
@ 2020-07-28  3:00 Chen Linglix
  2020-07-28  3:29 ` Chen, LingliX
  2020-08-12  6:21 ` Tu, Lijuan
  0 siblings, 2 replies; 3+ messages in thread
From: Chen Linglix @ 2020-07-28  3:00 UTC (permalink / raw)
  To: dts; +Cc: Chen Linglix

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=y, Size: 1061 bytes --]

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-08-12  6:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-28  3:00 [dts] [PATCH V1] tests/TestSuite_shutdown_api/check_rxtx_desc_status_add_foxville_and_powerville_queue_num Chen Linglix
2020-07-28  3:29 ` Chen, LingliX
2020-08-12  6:21 ` Tu, Lijuan

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).