From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 330DEA0096 for ; Tue, 7 May 2019 11:29:22 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CE993293B; Tue, 7 May 2019 11:29:21 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 804EEA49 for ; Tue, 7 May 2019 11:29:20 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 May 2019 02:29:19 -0700 X-ExtLoop1: 1 Received: from unknown (HELO localhost.localdomain.sh.intel.com) ([10.240.176.135]) by fmsmga001.fm.intel.com with ESMTP; 07 May 2019 02:29:18 -0700 From: zhuwenhui To: dts@dpdk.org Cc: zhuwenhui Date: Tue, 7 May 2019 17:33:42 +0800 Message-Id: <1557221622-29160-1-git-send-email-wenhuix.zhu@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH V2] tests/dynamic_queue add more cores for testpmd 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: , Errors-To: dts-bounces@dpdk.org Sender: "dts" When fortville spirit binds multiple ports, starting testpmd requires more cores. Signed-off-by: zhuwenhui --- tests/TestSuite_dynamic_queue.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/TestSuite_dynamic_queue.py b/tests/TestSuite_dynamic_queue.py index 3aad63f..9cd0073 100644 --- a/tests/TestSuite_dynamic_queue.py +++ b/tests/TestSuite_dynamic_queue.py @@ -27,12 +27,12 @@ class TestDynamicQueue(TestCase): self.dut_testpmd = PmdOutput(self.dut) def set_up(self): - # Because of fortville spirit limitation,can't use 2 ports for testing + # Fortville_spirit needs more cores to run properly if (self.nic in ["fortville_spirit"]): + self.verify("len(self.dut.cores)>=7", "Less than seven cares can't run testpmd") self.dut_testpmd.start_testpmd( - "Default", "--port-topology=chained --txq=%s --rxq=%s" - % (self.PF_QUEUE, self.PF_QUEUE), eal_param="-w %s" - % (self.dut.get_port_pci(self.dut_ports[0]))) + "all", "--port-topology=chained --txq=%s --rxq=%s" + % (self.PF_QUEUE, self.PF_QUEUE)) elif (self.nic in ["cavium_a063"]): eal_opts = "" for port in self.dut_ports: -- 2.17.2