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 995EAA0C41; Wed, 15 Sep 2021 13:04:47 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 229404014F; Wed, 15 Sep 2021 13:04:47 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 60F764003C; Wed, 15 Sep 2021 13:04:45 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10107"; a="209377676" X-IronPort-AV: E=Sophos;i="5.85,295,1624345200"; d="scan'208";a="209377676" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Sep 2021 04:04:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,295,1624345200"; d="scan'208";a="610127219" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmga001.fm.intel.com with ESMTP; 15 Sep 2021 04:04:43 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Wed, 15 Sep 2021 04:04:43 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Wed, 15 Sep 2021 04:04:43 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.43) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Wed, 15 Sep 2021 04:04:43 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=l8DX5woNNwNulJdS/rZjS/CsvOX7WesQ2MeRuTjDWpwv+AaQQoi3ggunQD5ESgfFwCEZ+WdOShwx7/FGfb731DLU57Un+c8C74mR/RNyQeygVnprFuElAWAO3C1iq6aVyp1latL+y3vgdNn/JcTsaxYOersGjoZE5/yO8RvrPCPjmyLbOHGbczoPGqhmgAMBbmIYPW4/gPAjGMcOU840xwsJvC9gejaIXsu6o5cZDyWJFyVwruqSo+7zDpxSYnyEi3e1S2D5lvy6626LMwe0toUB7g4Z7uX/WFrtD4bcQ0/W+4k9B3S+c1ye1FUS98EtaihlyLNFpt31QnyEh059Gw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=aKgUgge0iL46UV8j6BKGHSpZh0nZNZsbeG+yB77Ta1k=; b=im5DYnW4ZuXs/Ab05Y93r87Q7ZVogNPAD1vTM0UQoZPO6XUXeB0bHQye/lmaO1ViKZWjOULGQrpyB9FKI19u3/jJYG7Acp5t9E/IoB2RL/v0ugDV6hb8HvdIu8bw0sgZ2cZdy2jy5gcd82wi5x7Wjk1demxPrEnTuh+j8NBlNvI4zyp2eCvFnlWdqiHvrPnap73kgbIiBH6iTAUon/ARRZBbocgLGnHoSFdSoNHgt/IUF1vmLTfa7wgUC4rS/Av5g2yQo5CjiaPnPviF7/PifE5AwE6lU5rGanV1nngyNSimSZd/610CsmYIPd5IY/RhXbfq/wJ0smiwClVsyoS4oA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=aKgUgge0iL46UV8j6BKGHSpZh0nZNZsbeG+yB77Ta1k=; b=TvfYWyUTk5u4xbS4PzOT0+iOyKBWho8BQS/99k11UFY30IDWEwvRpaSffafLwqjbfVoaMjOgBj04goMjuKxzC78PqvYl+a4RtNTkjGN8c/aWQ3AkW18vh9EWNaR3HGX6rHKqede5p5IWawsoTt+mjdTFKSWJwg85hckR8fa1x/M= Authentication-Results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by PH0PR11MB4919.namprd11.prod.outlook.com (2603:10b6:510:34::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.17; Wed, 15 Sep 2021 11:04:42 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::747b:3a08:d1ec:31fc]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::747b:3a08:d1ec:31fc%5]) with mapi id 15.20.4500.019; Wed, 15 Sep 2021 11:04:42 +0000 To: Mohsin Kazmi , CC: References: <20210707094019.40945-1-mohsin.kazmi14@gmail.com> <20210907104916.27560-1-mohsin.kazmi14@gmail.com> From: Ferruh Yigit X-User: ferruhy Message-ID: Date: Wed, 15 Sep 2021 12:04:37 +0100 In-Reply-To: <20210907104916.27560-1-mohsin.kazmi14@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DB6PR07CA0090.eurprd07.prod.outlook.com (2603:10a6:6:2b::28) To PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) MIME-Version: 1.0 Received: from [192.168.0.206] (37.228.236.146) by DB6PR07CA0090.eurprd07.prod.outlook.com (2603:10a6:6:2b::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.6 via Frontend Transport; Wed, 15 Sep 2021 11:04:41 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 2e4cb972-a996-43ca-ce2d-08d978389e8f X-MS-TrafficTypeDiagnostic: PH0PR11MB4919: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2399; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: +DveQbHQ57NlaNEotm6K6fqRK9gHMqyXEbVPHYGZYchRcaLz2966NBxLvErQHwY+RWloPGvwyNUYpDL0e8lbclpqKgtUd4CqkY0NEjrESJDecyr1gyRY7xKkINVBKdCHyhyBSV1DH57rILn3CNtJXLz02l6jn293UFDalGosKqSNXsjptwb7kq33d5ZlzrxJg2fzBnzA7j+V7aAc0QeA1IHoDo9ubX8J1l9+yAu3CgiUnnmu9rCam6GRyJVtF4GsSVdiDz4YyAumqi4DXC2L7g6rf0mCOXzgy3matCDcLJiu31WSpQWHcyAFlw2KlDirqNErgAGWR/kTXXdAtAzPuwtZZ7QXOd9p6frvVhfODDNZjh9uMASh1qheNUdye0v+LMz0FpZNRHkdyNNqgcLTYGkODyodr2oVEHpS2CFNTTBTGmXAjnVH2p/XG2rD73ROaXnpsm4uukCw0kNfvmZ6IuZ1xnYTgALB4WqNtopNr7T6atRLSx+3IeDD0MU6SwkK7hXVnhLZWBmYNBngc+jSpZPXRltDn16NRY/+R7qKZcL4RcdYLte5FPYqmnsJOWBDfqWsgIpYJZZEi0x3SjJGhL847FNaZoQSwUVoGlaW3mXg4qVxXUCdmr1+ixuimo/eA039QyOJNqQbRzla+tqETkHiNd9QJklQuqdEUMZdCtZmeCK+wgc8RVW7zYtSkw6UWd7iKNDgfXra8yOpfoe/MA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5000.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(136003)(396003)(346002)(376002)(39860400002)(2906002)(4326008)(86362001)(31696002)(36756003)(16576012)(66476007)(66556008)(66946007)(6666004)(316002)(4744005)(53546011)(38100700002)(83380400001)(8936002)(186003)(26005)(478600001)(44832011)(956004)(8676002)(31686004)(6486002)(5660300002)(2616005)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?NGtjNnVuanpvbUtLU1pucUV3UUkwSDM4YXREV3FPZlFKRnhMcklMSG84c1FB?= =?utf-8?B?T0FXb3oxTjZkaUNUUWtqeGlhMWVnelRYNEo1MUhONzJ1aCtCVHNOcnB6Mnk0?= =?utf-8?B?aGlaS0JvSDdqSi96blJxMFVmNlpEcmVmVEg1NTJ5ZEw1b0VwVElsOW5SendS?= =?utf-8?B?Sm5oZGhKRURUcWNqWGlJOWxMaDRuaUsvSzFIN2JyNHk0dnRuaVhuVGZZeFFB?= =?utf-8?B?RHNLeG5ieXhPY1QweDliLytrSlA1QjJxK25BdnVrRWZ1ZWtURzFNd1lFWUdw?= =?utf-8?B?UGJadGVoK2lWaTlqYXd5ZXZhRlNnMDdsK052WHdrd2gyTGc2UlIwZDZVaTk5?= =?utf-8?B?VzdVdHVXbGVVeEk0UHdhRlU1WkxRa0V5SGk4a2tBWWZ2ZkQrb2h3aXZkTUJu?= =?utf-8?B?aDNDVEozVHlaNTlSMVFiWFRURnF3d2RKTVowT0drRmZXYS9DZ0RycW9jNWJ2?= =?utf-8?B?TDRQSjhWMFBWdGZvWEtWQ1lrbUNGWHcyb3UyaGljbWdyU1E1b25CQjlVT1VE?= =?utf-8?B?TElGaDZpUFc2N3FlL3RmNGJXU2htaFA4aUtrZ0xqdXhRaEZlV2FUaXRuOHVm?= =?utf-8?B?VU84a3Vtb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utf-8?B?L2ZObmp4bkFjdzBjV0gxdU1kY0VORlRrM21zM0E1dDBQUjhGNFdacHMyaFo4?= =?utf-8?B?RGNEQTRYZDVhNGRUbzdvNk1tMVFUNXUwUlQ3N0FQRjVvYjJCN21BQjFvb2NO?= =?utf-8?B?YTlQMkhVRXVvemtkeFJRb3d5cnpVU1N5M01Fa1pXMkc0RjloaVFHZzdlWmtx?= =?utf-8?B?Nm85b2J1YmlvbW1IWUs4SjFJbEJaSjlyRDQvNDdHdHVsTVh5SkIwdk5pMVRh?= =?utf-8?Q?MZKVXzEThzJlWwralALLyLY75EYjq0CxacF0Bd1?= X-MS-Exchange-CrossTenant-Network-Message-Id: 2e4cb972-a996-43ca-ce2d-08d978389e8f X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Sep 2021 11:04:42.5024 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: HRvnwu0qVhd+25l7MnpH20WSzqw2mgsb8qK3weDZ11UVkecvPsu2WElxbJl4zYoV8+ZZ0+yVo6fwl05uMX7CLg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB4919 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v4] net: fix Intel-specific 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" On 9/7/2021 11:49 AM, Mohsin Kazmi wrote: > Preparation of the headers for the hardware offload > misses the outer IPv4 checksum offload. > It results in bad checksum computed by hardware NIC. > > This patch fixes the issue by setting the outer IPv4 > checksum field to 0. > > Fixes: 4fb7e803eb1a ("ethdev: add Tx preparation") > Cc: stable@dpdk.org > > Signed-off-by: Mohsin Kazmi > Acked-by: Qi Zhang > Acked-by: Olivier Matz Applied to dpdk-next-net/main, thanks. Patch title updated as following while merging: net: fix checksum offload for outer IPv4