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 C60C1A3160 for ; Sat, 12 Oct 2019 08:49:59 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 66FDD1EB8A; Sat, 12 Oct 2019 08:49:59 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 1D6D61EB88 for ; Sat, 12 Oct 2019 08:49:57 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Oct 2019 23:49:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.67,286,1566889200"; d="scan'208";a="278357898" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga001.jf.intel.com with ESMTP; 11 Oct 2019 23:49:55 -0700 Received: from fmsmsx114.amr.corp.intel.com (10.18.116.8) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 11 Oct 2019 23:49:55 -0700 Received: from shsmsx106.ccr.corp.intel.com (10.239.4.159) by FMSMSX114.amr.corp.intel.com (10.18.116.8) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 11 Oct 2019 23:49:55 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.96]) by SHSMSX106.ccr.corp.intel.com ([169.254.10.119]) with mapi id 14.03.0439.000; Sat, 12 Oct 2019 14:49:53 +0800 From: "Tu, Lijuan" To: "Li, WenjieX A" , "dts@dpdk.org" CC: "Li, WenjieX A" Thread-Topic: [dts] [PATCH V1] tests/shutdown_api:change crc-strip command Thread-Index: AQHVaE4noV3MwpLJSE6A2V/lUjPXhqdWwdTQ Date: Sat, 12 Oct 2019 06:49:53 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BB3ED70@SHSMSX101.ccr.corp.intel.com> References: <1568203240-53283-1-git-send-email-wenjiex.a.li@intel.com> In-Reply-To: <1568203240-53283-1-git-send-email-wenjiex.a.li@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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNWQxN2VjYmUtMTk0NC00MWVmLWFhODYtZTVlZDY3ZDI0OGY3IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiTVFlYytpMTJ5YVJ0QVp4VGNxMnFkSWxlVTF5RHB0ZnF0K3UwUEEwWmhuVXZYTGJ2RjRYaTVUWTRkNzJPREFjTiJ9 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/shutdown_api:change crc-strip command 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 Wenjie Li > Sent: Wednesday, September 11, 2019 8:01 PM > To: dts@dpdk.org > Cc: Li, WenjieX A > Subject: [dts] [PATCH V1] tests/shutdown_api:change crc-strip command >=20 > In dpdk commit e5db17a1e54e419419, "port config all crc-strip|scatter| > rx-cksum|rx-timestamp|hw-vlan|hw-vlan-filter|hw-vlan-strip|hw-vlan- > extend on|off" > was deleted, use "port config [port_id] rx_offload keep_crc off" instead = of > "port config all crc-strip on". >=20 > Signed-off-by: Wenjie Li > --- > tests/TestSuite_shutdown_api.py | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) >=20 > diff --git a/tests/TestSuite_shutdown_api.py > b/tests/TestSuite_shutdown_api.py index f889e1c..32bb765 100644 > --- a/tests/TestSuite_shutdown_api.py > +++ b/tests/TestSuite_shutdown_api.py > @@ -280,7 +280,8 @@ class TestShutdownApi(TestCase): > crc_keep =3D=3D RX_OFFLOAD_KEEP_CRC, "CRC keeping not enable= d > properly") >=20 > self.dut.send_expect("port stop all", "testpmd> ", 100) > - self.dut.send_expect("port config all crc-strip on", "testpmd> "= ) > + for i in range(len(self.dut.get_ports())): > + self.dut.send_expect("port config %s rx_offload keep_crc > + off" % i, "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> ") > -- > 2.17.1