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 90E1BC3B2 for ; Mon, 20 Jul 2015 06:06:38 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga103.fm.intel.com with ESMTP; 19 Jul 2015 21:06:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,506,1432623600"; d="scan'208";a="731858964" Received: from pgsmsx106.gar.corp.intel.com ([10.221.44.98]) by orsmga001.jf.intel.com with ESMTP; 19 Jul 2015 21:06:36 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by PGSMSX106.gar.corp.intel.com (10.221.44.98) with Microsoft SMTP Server (TLS) id 14.3.224.2; Mon, 20 Jul 2015 12:06:35 +0800 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.46]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.129]) with mapi id 14.03.0224.002; Mon, 20 Jul 2015 12:06:27 +0800 From: "Liu, Yong" To: "Xu, HuilongX" , "dts@dpdk.org" Thread-Topic: [dts] fix failed case rss hash key size and set_promiscuousmode Thread-Index: AQHQwpkYv+mmzWg6mUqk1VLA/yN3h53jvamA Date: Mon, 20 Jul 2015 04:06:26 +0000 Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E10E64FCA@SHSMSX103.ccr.corp.intel.com> References: <1437361578-3574-1-git-send-email-huilongx.xu@intel.com> In-Reply-To: <1437361578-3574-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 failed case rss hash key size and set_promiscuousmode 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: Mon, 20 Jul 2015 04:06:39 -0000 Applied in 1.1 branch. Thanks. > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of huilong,xu > Sent: Monday, July 20, 2015 11:06 AM > To: dts@dpdk.org > Subject: [dts] fix failed case rss hash key size and set_promiscuousmode >=20 > From: huilong xu >=20 >=20 > Signed-off-by: huilong xu > --- > tests/TestSuite_pmdrssreta.py | 2 +- > tests/TestSuite_shutdown_api.py | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) >=20 > diff --git a/tests/TestSuite_pmdrssreta.py b/tests/TestSuite_pmdrssreta.p= y > index 9f9ba17..df9c16c 100644 > --- a/tests/TestSuite_pmdrssreta.py > +++ b/tests/TestSuite_pmdrssreta.py > @@ -245,7 +245,7 @@ class TestPmdrssreta(TestCase): > if m is not None: > size =3D m.group(1) > print dts.GREEN("******************") > - print dts.GREEN("NIC %s hash size %d and expected %d" % > (self.nic, size, nic_rss_key_size[self.nic])) > + print dts.GREEN("NIC %s hash size %d and expected %d" % > (self.nic, int(size), nic_rss_key_size[self.nic])) > if (nic_rss_key_size[self.nic] =3D=3D int(size)): > self.verify(True, "pass") > else: > diff --git a/tests/TestSuite_shutdown_api.py > b/tests/TestSuite_shutdown_api.py > index ce9b8c0..482091a 100644 > --- a/tests/TestSuite_shutdown_api.py > +++ b/tests/TestSuite_shutdown_api.py > @@ -214,7 +214,7 @@ class TestShutdownApi(TestCase): > """ > Promiscuous mode. > """ > - self.pmdout.start_testpmd("Default", "--portmask=3D%s" % > dts.create_mask([self.ports[0], self.ports[1]]), self.ports_socket) > + self.pmdout.start_testpmd("Default", "--portmask=3D%s" % > dts.create_mask([self.ports[0], self.ports[1]]), socket =3D > self.ports_socket) >=20 > self.dut.send_expect("port stop all", "testpmd> ", 100) > self.dut.send_expect("set promisc all off", "testpmd> ") > -- > 1.7.4.4