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 7BFEEA00C2; Thu, 3 Feb 2022 13:41:29 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2ABFB40143; Thu, 3 Feb 2022 13:41:29 +0100 (CET) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id BEFFA40140 for ; Thu, 3 Feb 2022 13:41:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1643892087; x=1675428087; h=message-id:date:to:cc:references:from:subject: in-reply-to:content-transfer-encoding:mime-version; bh=1Aq9+qGPIwvuVaTUxSc4MfIhUrQfyPTrcMo1UOTJxVc=; b=Pdf2V0A5X8iPQXGMnkQRaA8CdrUw+Lb+vwkvuHk1K6vZ0w4l9zSsoCPD abfBPcw/nInfRpXGnZZSERlBl2UpfyHUbIpW6p2ZGgZMNt0vT/89l0oxm zn3Ans8k36pLHEvqWV5HUkSH6C1HgRlckca+o+i5cUaW4p0o70DxnAolT rp8eG5G8Y64tFpVfmG8P11F4Y083hf0WlW0Yl/lsNN16zXZfYfjt0VyYz SsRJ0rs4IJiWqbpv/NdUl/1IUi8JxXqpWDMy+mJ/86Ha4Ln9P/QWCv1JC m/KouFK5ckc0DxrB7d8C7dRC6GQ7UQlVndd7isEejvjBK/p7saPhGQ46R w==; X-IronPort-AV: E=McAfee;i="6200,9189,10246"; a="308861507" X-IronPort-AV: E=Sophos;i="5.88,339,1635231600"; d="scan'208";a="308861507" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Feb 2022 04:41:25 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,339,1635231600"; d="scan'208";a="620486825" Received: from orsmsx605.amr.corp.intel.com ([10.22.229.18]) by FMSMGA003.fm.intel.com with ESMTP; 03 Feb 2022 04:41:25 -0800 Received: from orsmsx607.amr.corp.intel.com (10.22.229.20) by ORSMSX605.amr.corp.intel.com (10.22.229.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Thu, 3 Feb 2022 04:41:25 -0800 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx607.amr.corp.intel.com (10.22.229.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20 via Frontend Transport; Thu, 3 Feb 2022 04:41:25 -0800 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.105) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.20; Thu, 3 Feb 2022 04:41:24 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LwucVJgJ/IYyJ+unZf4imG9b/zuS9grUeIY7cWoGBrJkT+/D1NJ3JOGOze5+zSCVoYkmy38DW7n76uNQOcsbXxCVx98zVVmPG5HKYoOtBX5yNaf2mu/fEpymEbVyMO0ipdwRK3qZi0hvYAL86j9RqhJgxMoI3nBFcqpP6H+qtqr1koOMuda3x9juqYYAgXL8thKI7T5zDVGIDLmbwRJpFfTUdCm/uD86BA1+x+MzMMvu2CDT7IWsx8e6tQuSwH7z2hPcTn/bxUFYaJpAibs9ZfbwHeAsVwEpBNluvgGy6J3cX8zH6gBSors1SWPpfe2Usm2b45JpnXPF++epxqV/oQ== 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:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=DXQrRs6F/jfWVzoArbKFMcwkZZ8MmG4mS9bqTvrkqg4=; b=IprrCxbxXg21n3Pr/e2V6r/oMfPhyS+C9cZw8dnMTx/vVLLI4wABF+uj8kVVUHBXAbEgQ0Ba0qD+t3WZ5WCQ/QjiHNhoQcCTvNXaUfdVj/ZrUuaFIZiry+S8r3a+q0cxt1kLfBwTcCMnbpouush/VNxw60AJ5agu9dYu3uf2hQm7/rf/5TtjTJcjqpQfvZFq5Kjgzihv6MYxUYZzMia6h228pytj3r55Cwwt1URVAcBEhb2Bqtz7dMPlTiG5z7rmqW9kJrPuTGpNHXTIDSk2KDATlBNwo0OjBm0k/i66ks5Siq7JgZ9+pwcTtUTGp0dAzBZimaTWfmVwORSEqx8WYA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by SN6PR11MB2687.namprd11.prod.outlook.com (2603:10b6:805:54::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4951.12; Thu, 3 Feb 2022 12:41:22 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::5046:8550:928d:850e]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::5046:8550:928d:850e%7]) with mapi id 15.20.4951.012; Thu, 3 Feb 2022 12:41:22 +0000 Message-ID: <729a1d83-c556-8b1a-3950-ffcf31b4b85f@intel.com> Date: Thu, 3 Feb 2022 12:41:15 +0000 Content-Language: en-US To: Xiaoyun Li , , , , , , , CC: , Sunil Pai G References: <20211015051306.320328-1-xiaoyun.li@intel.com> <20220124122857.1104668-1-xiaoyun.li@intel.com> <20220124122857.1104668-2-xiaoyun.li@intel.com> From: Ferruh Yigit Subject: Re: [PATCH v6 1/2] net: add functions to calculate UDP/TCP cksum in mbuf X-User: ferruhy In-Reply-To: <20220124122857.1104668-2-xiaoyun.li@intel.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LNXP265CA0071.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:5d::35) To PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5395d031-2eda-46c1-a42c-08d9e7127bbb X-MS-TrafficTypeDiagnostic: SN6PR11MB2687:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2887; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: C1tWmbBVsODG49JaEbt17Fbh0m9ThdIKUvo0TpKrob59TS8LMm51AfFeR+MoksbagxNyt2Px0oeqR9q9UHID1ZRHK3tX7EnXRvCfUXqrdHYm/l3zTtATqmzPujM+WwEnsYJQU0i1kSZrtFlmzyqbk3Bv4LGBZ4i9LbHgkSINHu22h821p05N4ORLum9e++BOhhzK8VRjvmP7XBvYPnhmdLAgbyW3OaOUAgAj1dSfcwbPQuA7W5lDBLcPsyvewDHi0hEN4/biKS7kctWgOUvcXJ+6/+O9tNs9CaarKp4EB+M0Xd9Zus64W7BjlRdcvhs72O1eOHqBJD2rS2bvsTMfGYi59HQFtyny8Crk1fCFwEACFyUkFbY5YcLzsarhwiYh8BUiuGs3c3B1jKmPJ8rdqP8K3jSCe3uaiin5C/hWh0BnQPmYwRzk9NciTNV1GzxqVpznqRsZg5IsVElPtnkYUjqh83RWGWvNjwCYvPAxeF4x7LhcpPeQ+xt7N9TSCgfK/lftzbMp1Pst39kVQNOaUtFweODHYAS560HV440+GKLKDTvkFvFn0jcJM5t/iOrivvfmt5x9L/zVT1Nn4r6iYQhlinsbKA1obmMvcsLxd4FI4Eo3Wa/f/nmQ4gENokj3fcVqLGqKvomJbeLM56HT9GtsM7rDpByiODsk1nVUeLpTE6MQg6+yQmTQIEvwaR11ujQ6t20MFtQMyFLbdnhFyg== 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:(13230001)(366004)(4326008)(6636002)(8936002)(8676002)(316002)(186003)(31686004)(55236004)(66476007)(2906002)(6486002)(4744005)(26005)(508600001)(66946007)(44832011)(6512007)(5660300002)(6666004)(66556008)(53546011)(6506007)(2616005)(82960400001)(31696002)(86362001)(38100700002)(36756003)(107886003)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?NmRjQ2VqajAzU1ZaTUFweEZLUktkNjFmUG5vY3JyV1N6TjVLNnJWNktZL1FN?= =?utf-8?B?SVFSdXdKWjhwWVlCTStyTUlBQXdTNXR0d1N4c0JGQnd0S2ozODBWWnFGZnpy?= =?utf-8?B?U1kzd2dkMjBYdHAvdGVpK0V3czlqK3IyVlAzTTJVcmFEY3JneWpTK0xGZ0ZI?= =?utf-8?B?WnowRFhDbDZNQWh6bVFaNjk3QWhQeUZRZXBvbmVEU0lhOGV4aDY2dStpY2Zn?= =?utf-8?B?VG55ZmdCMGlBWjhiZEFzU3FmZ3VJa0Q2OTlJUmNSTE5GY3pBNWt2TlFiRGRa?= =?utf-8?B?b2hZOVErWTlsWDJTY1JpTlJEK01heW9NZU9HWUFIeGxrWEIxWXd3MmllRXFS?= =?utf-8?B?bSsrV0ExWEI3K0lTSU92dUViVjB3NDArc0tUS0owRG9PUG16RmF4Uk5jYVg0?= =?utf-8?B?bmIvTzd2QksvMkY4cU55Mnh4NDhvOWYy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031-2eda-46c1-a42c-08d9e7127bbb X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Feb 2022 12:41:22.3926 (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: fE4LJzpYws+P+UShiYAifZs3H6ewLJ1Yu36qP66gpQFX/YEGTlHK9oEzThYFuNCEZ4+aQVKa0F0g/nG2PDrAsQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR11MB2687 X-OriginatorOrg: intel.com 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 On 1/24/2022 12:28 PM, Xiaoyun Li wrote: > Add functions to call rte_raw_cksum_mbuf() to calculate IPv4/6 > UDP/TCP checksum in mbuf which can be over multi-segments. > > Signed-off-by: Xiaoyun Li > Acked-by: Aman Singh > Acked-by: Ferruh Yigit > Tested-by: Sunil Pai G Hi Olivier, I am planning to proceed with the patch if you don't have any objection.