[dts] [PATCH V1] tests/dynamic_queue: halve the queue number for fvl_40G nic

Wenjie Li wenjiex.a.li at intel.com
Wed Dec 12 11:16:15 CET 2018


For fvl_40G nic, txq cases will fail if the queue number is 64 and could
pass with less queues, so reduce the number.

Signed-off-by: Wenjie Li <wenjiex.a.li at intel.com>

---
 tests/TestSuite_dynamic_queue.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/TestSuite_dynamic_queue.py b/tests/TestSuite_dynamic_queue.py
index f155686..8fc2def 100644
--- a/tests/TestSuite_dynamic_queue.py
+++ b/tests/TestSuite_dynamic_queue.py
@@ -27,6 +27,8 @@ class TestDynamicQueue(TestCase):
         self.dut_testpmd = PmdOutput(self.dut)
 
     def set_up(self):
+        if self.nic in ['fortville_spirit']:
+            self.PF_QUEUE = self.PF_QUEUE / 2
         self.dut_testpmd.start_testpmd(
             "Default", "--port-topology=chained --txq=%s --rxq=%s"
             % (self.PF_QUEUE, self.PF_QUEUE))
-- 
2.17.2



More information about the dts mailing list