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 81657A05D3 for ; Tue, 23 Apr 2019 22:48:25 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 775C61B486; Tue, 23 Apr 2019 22:48:25 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 082E41B1FE for ; Tue, 23 Apr 2019 22:48:22 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Apr 2019 13:48:22 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,387,1549958400"; d="scan'208";a="164198427" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga002.fm.intel.com with ESMTP; 23 Apr 2019 13:48:22 -0700 Received: from shsmsx153.ccr.corp.intel.com (10.239.6.53) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 23 Apr 2019 13:48:21 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.164]) by SHSMSX153.ccr.corp.intel.com ([169.254.12.139]) with mapi id 14.03.0415.000; Wed, 24 Apr 2019 04:48:20 +0800 From: "Tu, Lijuan" To: "nareddy@marvell.com" , "dts@dpdk.org" CC: "fmasood@marvell.com" , "avijay@marvell.com" Thread-Topic: [dts] [PATCH] dynamic_queue.py: Adding max_pools parameter for cavium_a063 Thread-Index: AQHU+dDhAe4bquSScUGMtNhXXRiLJaZKOBmA Date: Tue, 23 Apr 2019 20:48:19 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BA65A70@SHSMSX101.ccr.corp.intel.com> References: <1556022838-5655-1-git-send-email-nareddy@marvell.com> In-Reply-To: <1556022838-5655-1-git-send-email-nareddy@marvell.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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYTFhNDFkOTItZTcxMi00N2ZjLWI1YTUtNjdmY2JlOTAyM2M4IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiaUtFVzFlVk5xUVNOekczZ0dsZVJRNkNORGVRYk9obHBhME9vNVc4QTZVWGFHeTlmYlVnRGFveVgxY0Z2QUJXdCJ9 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] dynamic_queue.py: Adding max_pools parameter for cavium_a063 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 > nareddy@marvell.com > Sent: Tuesday, April 23, 2019 5:34 AM > To: dts@dpdk.org > Cc: fmasood@marvell.com; avijay@marvell.com; Praneeth Reddy > > Subject: [dts] [PATCH] dynamic_queue.py: Adding max_pools parameter for > cavium_a063 >=20 > From: Praneeth Reddy >=20 > With cavium_a063, to allocate dynamic queues max_pools parameter is > required in testpmd application. >=20 > Signed-off-by: Praneeth Reddy > --- > tests/TestSuite_dynamic_queue.py | 7 +++++++ > 1 file changed, 7 insertions(+) >=20 > diff --git a/tests/TestSuite_dynamic_queue.py > b/tests/TestSuite_dynamic_queue.py > index 8e3fdb9..3aad63f 100644 > --- a/tests/TestSuite_dynamic_queue.py > +++ b/tests/TestSuite_dynamic_queue.py > @@ -33,6 +33,13 @@ class TestDynamicQueue(TestCase): > "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]))) > + elif (self.nic in ["cavium_a063"]): > + eal_opts =3D "" > + for port in self.dut_ports: > + eal_opts +=3D "-w %s,max_pools=3D256 > "%(self.dut.get_port_pci(self.dut_ports[port])) > + self.dut_testpmd.start_testpmd( > + "Default", "--port-topology=3Dchained --txq=3D%s --rxq= =3D%s" > + % (self.PF_QUEUE, self.PF_QUEUE), eal_param =3D eal_opts= ) > else: > self.dut_testpmd.start_testpmd( > "Default", "--port-topology=3Dchained --txq=3D%s --rxq= =3D%s" > -- > 1.8.3.1