From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 7BBB2568A for ; Fri, 2 Nov 2018 08:54:19 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Nov 2018 00:54:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,454,1534834800"; d="scan'208";a="104680514" Received: from unknown (HELO localhost.localdomain.sh.intel.com) ([10.240.176.135]) by fmsmga001.fm.intel.com with ESMTP; 02 Nov 2018 00:54:17 -0700 From: "han,yingya" To: dts@dpdk.org Cc: "han,yingya" Date: Fri, 2 Nov 2018 15:57:18 +0800 Message-Id: <1541145438-21684-1-git-send-email-yingyax.han@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH V1]tests/runtime_queue_number: fix the issue ofcreating VF on eagle in two ports X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2018 07:54:19 -0000 FVL_eagle nic has two specifications, namely 2*10G and 4*10G. Signed-off-by: han,yingya --- 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..4a51fa2 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) -- 2.17.2