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 DFA9AA0096 for ; Mon, 6 May 2019 03:44:59 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B1BF52B94; Mon, 6 May 2019 03:44:59 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 0CB821041 for ; Mon, 6 May 2019 03:44:57 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 May 2019 18:44:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,435,1549958400"; d="scan'208";a="344042632" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga006.fm.intel.com with ESMTP; 05 May 2019 18:44:56 -0700 Received: from shsmsx154.ccr.corp.intel.com (10.239.6.54) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.408.0; Sun, 5 May 2019 18:44:52 -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; Mon, 6 May 2019 09:44:51 +0800 From: "Tu, Lijuan" To: "Zhu, WenhuiX" , "dts@dpdk.org" CC: "Zhu, WenhuiX" Thread-Topic: [dts] [PATCH V1] tests/dynamic_queue add more cores for testpmd Thread-Index: AQHU+wvaZphNqHtSdk6EV+2z7afbhKZdZBQg Date: Mon, 6 May 2019 01:44:49 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BA7B67F@SHSMSX101.ccr.corp.intel.com> References: <1556158358-8416-1-git-send-email-wenhuix.zhu@intel.com> In-Reply-To: <1556158358-8416-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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMmE5MDg2NjktYzVlZS00OGQwLTlmODYtZGRmMjlkYTRkM2E1IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiNUhzUlBZRCswYWJWRURaU3V4bXN3VFExS0RGTzhERk1VTkN1bzcrR21SUjRyM1pCdTVCYzNWWFpBaUpzT00xSSJ9 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 V1] 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" Could you please check your system has enough cores before starting tests, = snice not all platform has 7 cores. > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhuwenhui > Sent: Thursday, April 25, 2019 10:13 AM > To: dts@dpdk.org > Cc: Zhu, WenhuiX > Subject: [dts] [PATCH V1] 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 | 7 +++---- > 1 file changed, 3 insertions(+), 4 deletions(-) >=20 > diff --git a/tests/TestSuite_dynamic_queue.py > b/tests/TestSuite_dynamic_queue.py > index 3aad63f..e07efa8 100644 > --- a/tests/TestSuite_dynamic_queue.py > +++ b/tests/TestSuite_dynamic_queue.py > @@ -27,12 +27,11 @@ 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.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]))) > + "1S/7C/1T", "--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