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 7E703A0A0C; Tue, 29 Jun 2021 13:54:56 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EF9E54117C; Tue, 29 Jun 2021 13:54:55 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 878E540E01 for ; Tue, 29 Jun 2021 13:54:54 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10029"; a="208075735" X-IronPort-AV: E=Sophos;i="5.83,308,1616482800"; d="scan'208";a="208075735" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Jun 2021 04:54:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.83,308,1616482800"; d="scan'208";a="557913423" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by orsmga004.jf.intel.com with ESMTP; 29 Jun 2021 04:54:47 -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.2242.4; Tue, 29 Jun 2021 04:54:47 -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.2242.4; Tue, 29 Jun 2021 19:54:45 +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.2242.008; Tue, 29 Jun 2021 19:54:45 +0800 From: "Zhang, Qi Z" To: Mohsin Kazmi , "dev@dpdk.org" CC: "Kinsella, Ray" , Olivier Matz Thread-Topic: [dpdk-dev] [PATCH] net: prepare the outer ipv4 hdr for checksum Thread-Index: AQHXaQ3i98kr5XEtf02r+8g9SR2JaKsq6I2w Date: Tue, 29 Jun 2021 11:54:45 +0000 Message-ID: <41a1d74d45bd4618ae1c1ca1380090bd@intel.com> References: <20210624152802.40249-1-mohsin.kazmi14@gmail.com> In-Reply-To: <20210624152802.40249-1-mohsin.kazmi14@gmail.com> 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] net: prepare the outer ipv4 hdr for checksum X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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 Mohsin Kazmi > Sent: Thursday, June 24, 2021 11:28 PM > To: dev@dpdk.org > Cc: Mohsin Kazmi ; Kinsella, Ray > ; Olivier Matz > Subject: [dpdk-dev] [PATCH] net: prepare the outer ipv4 hdr for checksum >=20 > Preparation the headers for the hardware offload misses the outer ipv4 > checksum offload. > It results in bad checksum computed by hardware NIC. >=20 > This patch fixes the issue by setting the outer ipv4 checksum field to 0. As this a fix, below fix line and cc stable could be added Fixes: 4fb7e803eb1a ("ethdev: add Tx preparation") Cc: stable@dpdk.org =09 >=20 > Cc: ray.kinsella@intel.com >=20 > Signed-off-by: Mohsin Kazmi Acked-by: Qi Zhang