From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 23943A0A0A for ; Thu, 25 Mar 2021 02:59:41 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0BB34140D24; Thu, 25 Mar 2021 02:59:41 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id AD57C40147; Thu, 25 Mar 2021 02:59:37 +0100 (CET) IronPort-SDR: kf9MANkrZuF2kybXeWNaxdorcmOrpXPZURs8eC4BdRFTjWRh5NIPGQOsFVEkVUBud/hfo6Aoqw 7PxGlGFJFHiw== X-IronPort-AV: E=McAfee;i="6000,8403,9933"; a="187527372" X-IronPort-AV: E=Sophos;i="5.81,276,1610438400"; d="scan'208";a="187527372" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Mar 2021 18:59:36 -0700 IronPort-SDR: VX/dOAIpGMR69oDbyVWwE6WNr85nz+h4Ijq/0H5OEt6fCwA+s9qoNd2Mh+0jW8jdIJyFXKotJ4 xH94wy//cuNQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,276,1610438400"; d="scan'208";a="374869391" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by orsmga003.jf.intel.com with ESMTP; 24 Mar 2021 18:59:36 -0700 Received: from shsmsx602.ccr.corp.intel.com (10.109.6.142) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Wed, 24 Mar 2021 18:59:35 -0700 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by SHSMSX602.ccr.corp.intel.com (10.109.6.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Thu, 25 Mar 2021 09:59:33 +0800 Received: from shsmsx601.ccr.corp.intel.com ([10.109.6.141]) by SHSMSX601.ccr.corp.intel.com ([10.109.6.141]) with mapi id 15.01.2106.013; Thu, 25 Mar 2021 09:59:33 +0800 From: "Zhang, Qi Z" To: Kathleen Capella , Feifei Wang , "jerinj@marvell.com" , "Ruifeng Wang" , "Xing, Beilei" , "Guo, Jia" , "Richardson, Bruce" , Jianbo Liu CC: "dev@dpdk.org" , nd , Feifei Wang , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v1] net/i40e: fix parse ptype issue for NEON vector Thread-Index: AQHXFVbVLfQjq2NoZ0SRQATGFLQNtqp9HIyAgBbtpVA= Date: Thu, 25 Mar 2021 01:59:33 +0000 Message-ID: <32235e321fe942b2bef657af72eef199@intel.com> References: <20210310024029.20772-1-feifei.wang2@arm.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.5.1.3 dlp-product: dlpe-windows x-originating-ip: [10.239.127.36] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH v1] net/i40e: fix parse ptype issue for NEON vector X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" > -----Original Message----- > From: dev On Behalf Of Kathleen Capella > Sent: Thursday, March 11, 2021 3:51 AM > To: Feifei Wang ; jerinj@marvell.com; Ruifeng > Wang ; Xing, Beilei ; Guo, > Jia ; Richardson, Bruce ; > Jianbo Liu > Cc: dev@dpdk.org; nd ; Feifei Wang > ; stable@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v1] net/i40e: fix parse ptype issue for NE= ON > vector >=20 > Tested-by: Kathleen Capella >=20 > > -----Original Message----- > > From: dev On Behalf Of Feifei Wang > > Sent: Tuesday, March 9, 2021 9:40 PM > > To: jerinj@marvell.com; Ruifeng Wang ; Beilei > > Xing ; Jeff Guo ; Bruce > > Richardson ; Jianbo Liu > > > > Cc: dev@dpdk.org; nd ; Feifei Wang > ; > > stable@dpdk.org > > Subject: [dpdk-dev] [PATCH v1] net/i40e: fix parse ptype issue for > > NEON vector > > > > In i40e NEON vector rx path, the packet descs processing is incorrect. > > This caused wrong packet type been filled in mbuf. > > > > To fix this, when shifting the pktlen field to be 16-bit aligned, it > > only needs to process the high 16bit of the packet descs instead of the= high > 32bit. > > > > Test Results: > > Architecture: arm64 > > NIC: XL710 > > Driver: i40e > > Package: Ether()/IP()/ > > > > Without this patch: > > desc_to_ptype_v: ptype =3D 7 (error) > > > > With this patch: > > desc_to_ptype_v: ptype =3D 23 (correct) > > > > Fixes: ae0eb310f253 ("net/i40e: implement vector PMD for ARM") > > Cc: stable@dpdk.org > > > > Signed-off-by: Feifei Wang > > Reviewed-by: Ruifeng Wang Applied to dpdk-next-net-intel. Thanks Qi