test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1]tests/runtime_queue_number: fix the issue of creating VF on eagle in two ports
@ 2018-09-29  8:51 han,yingya
  0 siblings, 0 replies; only message in thread
From: han,yingya @ 2018-09-29  8:51 UTC (permalink / raw)
  To: dts; +Cc: han,yingya

FVL_eagle nic has two specifications, namely 2*10G and 4*10G.

Signed-off-by: han,yingya <yingyax.han@intel.com>
---
 tests/TestSuite_runtime_queue_number.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/TestSuite_runtime_queue_number.py b/tests/TestSuite_runtime_queue_number.py
index 12263f3..c5cbcbb 100644
--- a/tests/TestSuite_runtime_queue_number.py
+++ b/tests/TestSuite_runtime_queue_number.py
@@ -251,12 +251,12 @@ class TestRuntime_Queue_Number(TestCase):
         """
         set max queue number when setting max VFs on 1 PF port.
         """
-        if (self.nic in ["fortville_eagle", "fortpark_TLV"]):
+        if (self.nic in ["fortville_eagle", "fortpark_TLV"]) and len(self.dut_ports) > 2:
             self.setup_env(32)
             # failed to set VF max queue num to 16.
             out = self.pmdout.start_testpmd("%s" % self.cores, eal_param="-w %s,queue-num-per-vf=16 --file-prefix=test1 --socket-mem 1024,1024" % self.pf_pci)
             self.verify("exceeds the hardware maximum 384" in out, "the queue num exceeds the hardware maximum 384")
-        elif (self.nic in ["fortville_spirit", "fortville_spirit_single"]):
+        elif (self.nic in ["fortville_spirit", "fortville_spirit_single", "fortville_eagle"]):
             self.setup_env(64)
             # failed to set VF max queue num to 16.
             out = self.pmdout.start_testpmd("%s" % self.cores, eal_param="-w %s,queue-num-per-vf=16 --file-prefix=test1 --socket-mem 1024,1024" % self.pf_pci)
-- 
1.9.3

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-09-29  8:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-29  8:51 [dts] [PATCH V1]tests/runtime_queue_number: fix the issue of creating VF on eagle in two ports han,yingya

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