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 704AFA0471 for ; Mon, 12 Aug 2019 09:02:35 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 657141252; Mon, 12 Aug 2019 09:02:35 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id A7D9D2C5 for ; Mon, 12 Aug 2019 09:02:33 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Aug 2019 00:02:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,376,1559545200"; d="scan'208";a="178250901" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga003.jf.intel.com with ESMTP; 12 Aug 2019 00:02:27 -0700 Received: from fmsmsx126.amr.corp.intel.com (10.18.125.43) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 12 Aug 2019 00:02:23 -0700 Received: from shsmsx105.ccr.corp.intel.com (10.239.4.158) by FMSMSX126.amr.corp.intel.com (10.18.125.43) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 12 Aug 2019 00:02:23 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.80]) by SHSMSX105.ccr.corp.intel.com ([169.254.11.15]) with mapi id 14.03.0439.000; Mon, 12 Aug 2019 15:02:21 +0800 From: "Tu, Lijuan" To: "nareddy@marvell.com" , "dts@dpdk.org" CC: "fmasood@marvell.com" , "avijay@marvell.com" Thread-Topic: [dts] [PATCH] TestSuite_shutdown_api.py: disable-crc-strip is not supported for cavium_a063 and cavium_a064 Thread-Index: AQHVUL3jelMl+4Vm50KTkFWV+zZBmab3FkMw Date: Mon, 12 Aug 2019 07:02:20 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BB01917@SHSMSX101.ccr.corp.intel.com> References: <1565580433-29476-1-git-send-email-nareddy@marvell.com> In-Reply-To: <1565580433-29476-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.2.0.6 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiOGY0NTkyMWMtYjgzZi00ODZmLTk5NTEtZDk3M2JiMmFkNjUxIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiWWpDdmcxallzTFdrc0VKZEY0eTg4bTBPeEpYSjg3WlBVaFNMa3JPVUJWM0ZvNFhKekt1eDd3V3VDRzR3NEMwNCJ9 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] TestSuite_shutdown_api.py: disable-crc-strip is not supported for cavium_a063 and cavium_a064 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: Monday, August 12, 2019 11:27 AM > To: dts@dpdk.org > Cc: fmasood@marvell.com; avijay@marvell.com; Praneeth Reddy > > Subject: [dts] [PATCH] TestSuite_shutdown_api.py: disable-crc-strip is no= t > supported for cavium_a063 and cavium_a064 >=20 > From: Praneeth Reddy >=20 > Removed disable-crc-strip parameter for cavium_a063 and cavium_a064 >=20 > Signed-off-by: Praneeth Reddy > --- > tests/TestSuite_shutdown_api.py | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) >=20 > diff --git a/tests/TestSuite_shutdown_api.py > b/tests/TestSuite_shutdown_api.py index d31392d..f889e1c 100644 > --- a/tests/TestSuite_shutdown_api.py > +++ b/tests/TestSuite_shutdown_api.py > @@ -265,7 +265,10 @@ class TestShutdownApi(TestCase): > """ > RX_OFFLOAD_KEEP_CRC =3D 0x10000 >=20 > - self.pmdout.start_testpmd("Default", "--portmask=3D%s --port- > topology=3Dloop --disable-crc-strip" % utils.create_mask(self.ports), > socket=3Dself.ports_socket) > + if (self.nic in ["cavium_a063", "cavium_a064"]): > + self.pmdout.start_testpmd("Default", "--portmask=3D%s --port= - > topology=3Dloop" % utils.create_mask(self.ports), socket=3Dself.ports_soc= ket) > + else: > + self.pmdout.start_testpmd("Default", "--portmask=3D%s > + --port-topology=3Dloop --disable-crc-strip" % > + utils.create_mask(self.ports), socket=3Dself.ports_socket) > out =3D self.dut.send_expect("show config rxtx", "testpmd> ") > Rx_offloads =3D re.compile('Rx offloads=3D(.*?)\s+?').findall(ou= t, re.S) > crc_keep_temp =3D [] > -- > 1.8.3.1