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 9F621A0096 for ; Tue, 7 May 2019 11:33:20 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 57DA7293B; Tue, 7 May 2019 11:33:20 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id DB17BA49 for ; Tue, 7 May 2019 11:33:18 +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 orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 May 2019 02:33:17 -0700 X-ExtLoop1: 1 Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga001.fm.intel.com with ESMTP; 07 May 2019 02:33:17 -0700 Received: from fmsmsx117.amr.corp.intel.com (10.18.116.17) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 7 May 2019 02:33:17 -0700 Received: from shsmsx108.ccr.corp.intel.com (10.239.4.97) by fmsmsx117.amr.corp.intel.com (10.18.116.17) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 7 May 2019 02:33:17 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.249]) by SHSMSX108.ccr.corp.intel.com ([169.254.8.126]) with mapi id 14.03.0415.000; Tue, 7 May 2019 17:33:15 +0800 From: "Yao, BingX Y" To: "Zhu, WenhuiX" , "dts@dpdk.org" CC: "Zhu, WenhuiX" Thread-Topic: [dts] [PATCH V2] tests/dynamic_queue add more cores for testpmd Thread-Index: AQHVBLdqKqqaMrQq40+dLo4zzleyRKZfZkMQ Date: Tue, 7 May 2019 09:33:14 +0000 Message-ID: <95BCD24840F32441BEA74E0F8A31839E04F264D8@shsmsx102.ccr.corp.intel.com> References: <1557221622-29160-1-git-send-email-wenhuix.zhu@intel.com> In-Reply-To: <1557221622-29160-1-git-send-email-wenhuix.zhu@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [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" Tested-by: Yao, BingX Y -----Original Message----- From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhuwenhui Sent: Tuesday, May 7, 2019 5:34 PM To: dts@dpdk.org Cc: Zhu, WenhuiX Subject: [dts] [PATCH V2] tests/dynamic_queue add more cores for testpmd 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_que= ue.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 =3D PmdOutput(self.dut) =20 def set_up(self): - # Because of fortville spirit limitation,can't use 2 ports for tes= ting + # Fortville_spirit needs more cores to run properly if (self.nic in ["fortville_spirit"]): + self.verify("len(self.dut.cores)>=3D7", "Less than seven=20 + cares can't run testpmd") self.dut_testpmd.start_testpmd( - "Default", "--port-topology=3Dchained --txq=3D%s --rxq=3D%= s" - % (self.PF_QUEUE, self.PF_QUEUE), eal_param=3D"-w %s" - % (self.dut.get_port_pci(self.dut_ports[0]))) + "all", "--port-topology=3Dchained --txq=3D%s --rxq=3D%s" + % (self.PF_QUEUE, self.PF_QUEUE)) elif (self.nic in ["cavium_a063"]): eal_opts =3D "" for port in self.dut_ports: -- 2.17.2