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 6148BA04DB; Fri, 11 Dec 2020 03:17:05 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9C4FBAC9E; Fri, 11 Dec 2020 03:17:03 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 298FA37B7 for ; Fri, 11 Dec 2020 03:17:00 +0100 (CET) IronPort-SDR: Cz8gXjLj+WxikRtTQ2acRsUXBKYZE5mjnGkVYsx2oG9XfjrSxDikV+22q6jxAQW3ZH5kDWctEM 2KBjUVMK7+Tg== X-IronPort-AV: E=McAfee;i="6000,8403,9831"; a="162123849" X-IronPort-AV: E=Sophos;i="5.78,409,1599548400"; d="scan'208";a="162123849" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Dec 2020 18:16:59 -0800 IronPort-SDR: wuGAOQmCVLDMau22qDEcqvr6o4y841Wey+mhED0aDxj+rrJfJy6lnBdAabDcUot14vQY28nsCF PVzLTiY59iWQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.78,409,1599548400"; d="scan'208";a="320926941" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmsmga008.fm.intel.com with ESMTP; 10 Dec 2020 18:16:58 -0800 Received: from shsmsx605.ccr.corp.intel.com (10.109.6.215) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 10 Dec 2020 18:16:58 -0800 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by SHSMSX605.ccr.corp.intel.com (10.109.6.215) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Fri, 11 Dec 2020 10:16:56 +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.1713.004; Fri, 11 Dec 2020 10:16:55 +0800 From: "Zhang, Qi Z" To: "Guo, Jia" , "Yang, MurphyX" , "dev@dpdk.org" CC: "Yang, Qiming" , "Yang, SteveX" , "Xing, Beilei" , "Yang, MurphyX" Thread-Topic: [dpdk-dev] [PATCH v2] net/i40e: fix incorrect checksum flag of L4 checksum Thread-Index: AQHWyePnd8MHW+144EytD3/13AwJNKnxM35A Date: Fri, 11 Dec 2020 02:16:55 +0000 Message-ID: <63dfd63a114a4cc191946afb0afdbf9e@intel.com> References: <20201111091112.12606-1-murphyx.yang@intel.com> <20201203075030.70053-1-murphyx.yang@intel.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-dev] [PATCH v2] net/i40e: fix incorrect checksum flag of L4 checksum X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----Original Message----- > From: dev On Behalf Of Guo, Jia > Sent: Friday, December 4, 2020 10:19 AM > To: Yang, MurphyX ; dev@dpdk.org > Cc: Yang, Qiming ; Yang, SteveX > ; Xing, Beilei ; Yang, Murp= hyX > > Subject: Re: [dpdk-dev] [PATCH v2] net/i40e: fix incorrect checksum flag = of L4 > checksum >=20 > Acked-by: Jeff Guo >=20 > > -----Original Message----- > > From: Murphy Yang > > Sent: Thursday, December 3, 2020 3:51 PM > > To: dev@dpdk.org > > Cc: Yang, Qiming ; Yang, SteveX > > ; Guo, Jia ; Xing, Beilei > > ; Yang, MurphyX > > Subject: [PATCH v2] net/i40e: fix incorrect checksum flag of L4 > > checksum > > > > When send tunneled packet that inner L4 checksum value is correct, the > > test_pmd output log shows 'ol_flags' value is > > 'PKT_RX_L4_CKSUM_UNKNOWN', but expected value is > > 'PKT_RX_L4_CKSUM_GOOD'. > > > > If the inner l4 checksum is correctly, mark the 'PKT_RX_L4_CKSUM_GOOD' > > flag to 'l3_l4e_flags' for sse and 'l3_l4_flags_shuf' for avx2 to > > ensure that the 'ol_flags' can match correct flags. > > > > Fixes: 9966a00a0688 ("net/i40e: enable bad checksum flags in vector > > Rx") > > Fixes: dafadd73762e ("net/i40e: add AVX2 Rx function") > > > > Signed-off-by: Murphy Yang Applied to dpdk-next-net-intel. Thanks Qi