From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id E3C47C38C for ; Tue, 4 Aug 2015 07:03:05 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga103.fm.intel.com with ESMTP; 03 Aug 2015 22:03:05 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,606,1432623600"; d="scan'208";a="535567835" Received: from pgsmsx106.gar.corp.intel.com ([10.221.44.98]) by FMSMGA003.fm.intel.com with ESMTP; 03 Aug 2015 22:03:04 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.110.15) by PGSMSX106.gar.corp.intel.com (10.221.44.98) with Microsoft SMTP Server (TLS) id 14.3.224.2; Tue, 4 Aug 2015 13:03:03 +0800 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.38]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.45]) with mapi id 14.03.0224.002; Tue, 4 Aug 2015 13:03:01 +0800 From: "Liu, Yong" To: "Xu, HuilongX" , "dts@dpdk.org" Thread-Topic: [dts] fix reset_queues case failed, when nic on sock 1 Thread-Index: AQHQzb3PQcro51SpB0GZ08xljJshbJ37SiXQ Date: Tue, 4 Aug 2015 05:03:01 +0000 Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E10EB46A1@SHSMSX103.ccr.corp.intel.com> References: <1438586810-22190-1-git-send-email-huilongx.xu@intel.com> In-Reply-To: <1438586810-22190-1-git-send-email-huilongx.xu@intel.com> Accept-Language: zh-CN, 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] fix reset_queues case failed, when nic on sock 1 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: , X-List-Received-Date: Tue, 04 Aug 2015 05:03:06 -0000 Applied in 1.1 branch. Thanks. > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of huilong,xu > Sent: Monday, August 03, 2015 3:27 PM > To: dts@dpdk.org > Subject: [dts] fix reset_queues case failed, when nic on sock 1 >=20 > From: huilong xu >=20 >=20 > Signed-off-by: huilong xu > --- > tests/TestSuite_shutdown_api.py | 6 ++++-- > 1 files changed, 4 insertions(+), 2 deletions(-) >=20 > diff --git a/tests/TestSuite_shutdown_api.py > b/tests/TestSuite_shutdown_api.py > index 482091a..92ab67f 100644 > --- a/tests/TestSuite_shutdown_api.py > +++ b/tests/TestSuite_shutdown_api.py > @@ -249,14 +249,16 @@ class TestShutdownApi(TestCase): >=20 > self.tester.get_interface(self.tester.get_local_port(self.ports[1])) > ] > #blackList =3D self.dut.create_blacklist_string(self.target, > self.nic) > + testcorelist =3D self.dut.get_core_list("1S/8C/1T", > socket=3Dself.ports_socket) >=20 > - self.pmdout.start_testpmd("1S/8C/1T", "--portmask=3D%s" % > dts.create_mask([self.ports[0], self.ports[1]]), socket=3Dself.ports_sock= et) > + self.pmdout.start_testpmd(testcorelist, "--portmask=3D%s" % > dts.create_mask([self.ports[0], self.ports[1]]), socket=3Dself.ports_sock= et) > + fwdcoremask =3D dts.create_mask(testcorelist[-3:]) >=20 > self.dut.send_expect("port stop all", "testpmd> ", 100) > self.dut.send_expect("port config all rxq 2", "testpmd> ") > self.dut.send_expect("port config all txq 2", "testpmd> ") > #self.dut.send_expect("set coremask 0x1e", "testpmd> ") > - self.dut.send_expect("set coremask 0xe0", "testpmd> ") > + self.dut.send_expect("set coremask %s" % fwdcoremask, "testpmd> = ") > self.dut.send_expect("set fwd mac", "testpmd>") > self.dut.send_expect("port start all", "testpmd> ", 100) > out =3D self.dut.send_expect("show config rxtx", "testpmd> ") > -- > 1.7.4.4