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 80B03A05D3 for ; Wed, 22 May 2019 05:31:14 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2CC5D2C39; Wed, 22 May 2019 05:31:14 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id BDDAD14EC for ; Wed, 22 May 2019 05:31:12 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 May 2019 20:31:11 -0700 X-ExtLoop1: 1 Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by FMSMGA003.fm.intel.com with ESMTP; 21 May 2019 20:31:11 -0700 Received: from fmsmsx113.amr.corp.intel.com (10.18.116.7) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 21 May 2019 20:31:11 -0700 Received: from shsmsx154.ccr.corp.intel.com (10.239.6.54) by FMSMSX113.amr.corp.intel.com (10.18.116.7) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 21 May 2019 20:31:11 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.129]) by SHSMSX154.ccr.corp.intel.com ([169.254.7.136]) with mapi id 14.03.0415.000; Wed, 22 May 2019 11:31:10 +0800 From: "Tu, Lijuan" To: "Zhu, WenhuiX" , "dts@dpdk.org" CC: "Zhu, WenhuiX" Thread-Topic: [dts] [PATCH V3] tests/dynamic_queue add more cores for testpmd Thread-Index: AQHVBV9BthJYGZeEzE6Ub++1uqVm5aZ2ktDQ Date: Wed, 22 May 2019 03:31:09 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BA83E5C@SHSMSX101.ccr.corp.intel.com> References: <1557293686-30708-1-git-send-email-wenhuix.zhu@intel.com> In-Reply-To: <1557293686-30708-1-git-send-email-wenhuix.zhu@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiOWM5ZjQ0YTEtODgzYi00YTllLWEzODgtYWZhYzA2NWU0YjEzIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiRWh1bGdjZWFleDMwUWxwcDVsSTBHRlFJZm9aMUZxdGJDc3REZkJlXC9NR2tXVkFcL3BDbWo3XC83MFwvRHNWY0ZIem4ifQ== 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 V3] 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" Applied, thanks > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhuwenhui > Sent: Wednesday, May 8, 2019 1:35 PM > To: dts@dpdk.org > Cc: Zhu, WenhuiX > Subject: [dts] [PATCH V3] tests/dynamic_queue add more cores for testpmd >=20 > When fortville spirit binds multiple ports, starting testpmd requires mor= e > cores. >=20 > Signed-off-by: zhuwenhui > --- > tests/TestSuite_dynamic_queue.py | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) >=20 > 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 =3D PmdOutput(self.dut) >=20 > def set_up(self): > - # Because of fortville spirit limitation,can't use 2 ports for t= esting > + # Fortville_spirit needs more cores to run properly > if (self.nic in ["fortville_spirit"]): > + self.verify("len(self.dut.cores)>=3D7", "Less than seven > + cores 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