From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5494CA04E0; Wed, 27 Nov 2019 10:17:26 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 185C158C3; Wed, 27 Nov 2019 10:17:26 +0100 (CET) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 389CE235 for ; Wed, 27 Nov 2019 10:17:25 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Nov 2019 01:17:24 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,248,1571727600"; d="scan'208";a="410275511" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga006.fm.intel.com with ESMTP; 27 Nov 2019 01:17:23 -0800 Received: from fmsmsx113.amr.corp.intel.com (10.18.116.7) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 27 Nov 2019 01:17:23 -0800 Received: from shsmsx106.ccr.corp.intel.com (10.239.4.159) by FMSMSX113.amr.corp.intel.com (10.18.116.7) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 27 Nov 2019 01:17:23 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.213]) by SHSMSX106.ccr.corp.intel.com ([169.254.10.248]) with mapi id 14.03.0439.000; Wed, 27 Nov 2019 17:17:20 +0800 From: "Tu, Lijuan" To: "Xiao, QimaiX" , "dts@dpdk.org" CC: "Xiao, QimaiX" Thread-Topic: [dts] [PATCH V1]tests/TestSuite_shutdown_api: update invocation of new api Thread-Index: AQHVoz8QAGXXaSqN0kG5QQgForECNaeewAQQ Date: Wed, 27 Nov 2019 09:17:19 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BB696B1@SHSMSX101.ccr.corp.intel.com> References: <1574651867-173718-1-git-send-email-qimaix.xiao@intel.com> In-Reply-To: <1574651867-173718-1-git-send-email-qimaix.xiao@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.2.0.6 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNTYwMjhjMGMtM2Q2MS00NzBhLThiY2MtODI4N2Y5ZDI0YWU0IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiNkZ6aHFSMnQ2M1ZSRGlMa3QxNEc4Qm9kYzBnOGwrQ0lxdDR3QXN3VHVhclVKUEREem5FUzhGZW1NQnRkNStxQSJ9 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/TestSuite_shutdown_api: update invocation of new api 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" It's not necessary to change arguments, start_testpmd can accept core list = as input. > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Xiao Qimai > Sent: Monday, November 25, 2019 11:18 AM > To: dts@dpdk.org > Cc: Xiao, QimaiX > Subject: [dts] [PATCH V1]tests/TestSuite_shutdown_api: update invocation = of > new api >=20 > update parameter of start_testpmd >=20 > Signed-off-by: Xiao Qimai > --- > tests/TestSuite_shutdown_api.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/tests/TestSuite_shutdown_api.py > b/tests/TestSuite_shutdown_api.py index 63fff84..4404f8b 100644 > --- a/tests/TestSuite_shutdown_api.py > +++ b/tests/TestSuite_shutdown_api.py > @@ -248,7 +248,7 @@ class TestShutdownApi(TestCase): > """ > testcorelist =3D self.dut.get_core_list("1S/8C/1T", socket=3Dsel= f.ports_socket) >=20 > - self.pmdout.start_testpmd(testcorelist, "--portmask=3D%s --port= - > topology=3Dloop" % utils.create_mask([self.ports[0]]), socket=3Dself.port= s_socket) > + self.pmdout.start_testpmd("1S/8C/1T", "--portmask=3D%s > + --port-topology=3Dloop" % utils.create_mask([self.ports[0]]), > + socket=3Dself.ports_socket) > self.dut.send_expect("set promisc all off", "testpmd>") > fwdcoremask =3D utils.create_mask(testcorelist[-3:]) >=20 > -- > 2.17.1