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 F1336A04DD; Tue, 26 Nov 2019 06:17:33 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A92B82B88; Tue, 26 Nov 2019 06:17:33 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 8AA1C91 for ; Tue, 26 Nov 2019 06:17:32 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Nov 2019 21:17:31 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,244,1571727600"; d="scan'208";a="239794933" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga002.fm.intel.com with ESMTP; 25 Nov 2019 21:17:31 -0800 Received: from fmsmsx121.amr.corp.intel.com (10.18.125.36) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 25 Nov 2019 21:17:30 -0800 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx121.amr.corp.intel.com (10.18.125.36) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 25 Nov 2019 21:17:30 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.213]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.2]) with mapi id 14.03.0439.000; Tue, 26 Nov 2019 13:17:28 +0800 From: "Ma, LihongX" 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: AQHVoz8QB70hTh5c90exSdNpi9vfj6ec6reA Date: Tue, 26 Nov 2019 05:17:28 +0000 Message-ID: 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: 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 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" Hi, Qimai I think we should optimization the dut code instead of change the suite cod= e. -----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 update parameter of start_testpmd Signed-off-by: Xiao Qimai --- tests/TestSuite_shutdown_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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=3Dself.= ports_socket) =20 - self.pmdout.start_testpmd(testcorelist, "--portmask=3D%s --port-t= opology=3Dloop" % utils.create_mask([self.ports[0]]), socket=3Dself.ports_s= ocket) + self.pmdout.start_testpmd("1S/8C/1T", "--portmask=3D%s =20 + --port-topology=3Dloop" % utils.create_mask([self.ports[0]]),=20 + socket=3Dself.ports_socket) self.dut.send_expect("set promisc all off", "testpmd>") fwdcoremask =3D utils.create_mask(testcorelist[-3:]) =20 -- 2.17.1