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 AC580A0350; Fri, 21 Jan 2022 16:17:13 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 95EB74276B; Fri, 21 Jan 2022 16:17:13 +0100 (CET) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id 032EC40042 for ; Fri, 21 Jan 2022 16:17:11 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1642778232; x=1674314232; h=message-id:date:to:cc:references:from:subject: in-reply-to:content-transfer-encoding:mime-version; bh=el4Go51EWFG3u5Mc2zwwHyeTpT/7zB3vZE9Zf0uIsgA=; b=JWe95PWELO6hpJSpEiTiIUBkxUOC/gt2Tu1CBlqtd5WUjSyaHaOxVj87 0IpT5SXPA7i/NoMDnJpAcGU9w8lkx1I3H9HyMuTWLZAUDRkzZ0VhyaITe pVF4wE4zXrsqHClXeY4G3cNgprACeOpiKnNPT/epYf9Yvtaf2OwnlbteQ jMvgakSqPp0w31AM8kUK0cWQrsT3LC5YjtSgUBm+gSVDQvUuq5xaOn9D4 T57iuxAKbnIcC9/l1uPqD6uoOLBFVfIiySh9qBInxiuNuOCXG1SseC8DR aIXr3cjrlaIo/MlL9M96QYZ40jpUqVN1GLopvoVrshBYyjxJlx13g24ES w==; X-IronPort-AV: E=McAfee;i="6200,9189,10233"; a="225654931" X-IronPort-AV: E=Sophos;i="5.88,304,1635231600"; d="scan'208";a="225654931" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jan 2022 07:17:11 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,304,1635231600"; d="scan'208";a="475972115" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by orsmga003.jf.intel.com with ESMTP; 21 Jan 2022 07:17:10 -0800 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Fri, 21 Jan 2022 07:17:10 -0800 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Fri, 21 Jan 2022 07:17:09 -0800 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20 via Frontend Transport; Fri, 21 Jan 2022 07:17:09 -0800 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.41) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.20; Fri, 21 Jan 2022 07:17:09 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OXCJTfZNyOJWS32qdN9O112v0Xks2uR2mRIiuL2myYxdrsWnkXB3or23INk1PFSmg0/cGDPEIFsrAT3x/La6LkC1RcF+IuOkFujAPVCV+1jbEh4sjjaFNDmhe8QMbtPuy1Rl6P66JZ352ml2JC+eaam5A6Y7bvZLH0FIB9v4LCyv/qmlGhcNOOhHi9Wbwya6ufUAiirzaifALX/aL1i+mw9sZT7Uairzo5od1CjFnKjqd2bM2Giiv7RLn7pi3nNDQM8LbGlwm+Eu96W2NbPVIAfXAtiN7nhgZUMMJatfghf3rHO9XEwoMZWRwpfL472ALgPd7WIdbTzkvCzlXlMC1Q== 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=Tsw2M97xyb//lBesqhT4dzH1JH/21rvpdttR6eMJt9w=; b=gtTMylLEltQBqg/kwNTfotgXHGcDlpwhl4AGc/BrBauKGeBMmcQT/Ebgm52+6jEIvQFLXrRf9a133jzWTr85GTiu7EaOBnXPeT/igbTm1NCcB+Wje9N8mbhxP3kubL0QeXRCdt/5WokjWWftsDaV7HXybLGoi8j78on5wV9oejpzrQA24eaiDuswxV+emJ/adwYgiD6PzJAMMH4xIwddWiIQHHys71lI9JAXxtw9A2B7B0orTB6LCTS0l9WWHmDCIbbcwhaxjVe5B/n/es8vBMbzeloqtZIgxB/5QO2OLstLrG4G55OnlYWU/iffBL5i9sDz8cIHky2s380p1vD5Dw== 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 BN7PR11MB2657.namprd11.prod.outlook.com (2603:10b6:406:b1::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4909.10; Fri, 21 Jan 2022 15:17:05 +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.4909.010; Fri, 21 Jan 2022 15:17:05 +0000 Message-ID: Date: Fri, 21 Jan 2022 15:16:54 +0000 Content-Language: en-US To: Xiaoyun Li , , , , , , CC: , Sunil Pai G References: <20211015051306.320328-1-xiaoyun.li@intel.com> <20220106160333.762686-1-xiaoyun.li@intel.com> <20220106160333.762686-2-xiaoyun.li@intel.com> From: Ferruh Yigit Subject: Re: [PATCH v5 1/2] net: add functions to calculate UDP/TCP cksum in mbuf X-User: ferruhy In-Reply-To: <20220106160333.762686-2-xiaoyun.li@intel.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO2P265CA0505.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:13b::12) 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: a6eeb4a0-5bc5-4e44-4161-08d9dcf11514 X-MS-TrafficTypeDiagnostic: BN7PR11MB2657:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2089; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ZlsIyqsTtnJ+vSjyvNx/fQYyKwwjen3lkcw4+/kFP9/y5JKpLdSdcseI2Y5hpVVQFEj7nhxhowzdtCBD32ME5jWc8R0qBAhoSswtghD8RCIn3+sS/X5zBBwQomsy1iCG/y54VtuKe7RtJD1Ey8TOsIz7ECJBvjs++zb24nLzM+vWlI1yqvaVL2K+jyJq/19OU0+aocQJ38xOMHq03AO9CVAqblw5KhbtQ8Srtoyctd5iLWudYIJ6JnHVp0EMRaLVAAcDI5qhhdVFBEwWbOwqdl/Bih5OPZgAy6B+8WX1v3Qnud1j8IGUGZGCT6r004LoudyVO1Ted3wc1rkaIG39GsrPLXdITbeKsdX4ZVjC76uYqNwLCaZ2hFsYAfJGpaaDF1Xx4x87CmYnFrgK8N36kemoK+wFDvFfLeu0QSoqn9os6nOKZGB0VFL4PVPke/VbRtxA7zXVRZDZ+WfeyzkRYheTOovz5ZJZcj53SDtIBDNFfMZF+1reRJWvVXMIXqsj2mIWGIRtE/DPiFhz1XdBTt8zh7yylyC8jEz2qvI2IV1tzndW0FyJdT6OAW+5YY2REgNZJy8w/2QusjY9vucySEA9guKMYBWyie6PGQHLc6Qn2dBPfe/mZsQB27NNbOVs2Z+4asVoWKMxFImvYOj/CWGOVvcXilGpx/j7WAILAkBPwu938sdFn7wt8q4a/Ahz8/JmYE9bYNhedkY3ZTmo8A== 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:(366004)(6636002)(8676002)(86362001)(26005)(83380400001)(53546011)(6506007)(316002)(6512007)(508600001)(36756003)(4744005)(31696002)(31686004)(6666004)(82960400001)(4326008)(2616005)(5660300002)(6486002)(66476007)(66556008)(186003)(44832011)(107886003)(38100700002)(2906002)(66946007)(8936002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?WU9nVUlZQVBKaVlMMWM4RGd1bUlreGJJdHlNMGgxMFNGdEUyRS9LaUE1NXl1?= =?utf-8?B?eDc2OSt1N04rMnhZZkdXcUZkakpnWVlOSVVoSU40dmJaa203M2MvRGhXTlJ6?= =?utf-8?B?VG5LUkhqVy9yUDhZVlJZK1hBeXB4ai85QjRsT2hJc1BlKzlqOEw2alY0UVZG?= =?utf-8?B?SEo0ekNOTWRRa29IeXF4QXMzbG1nY0NGMElpWkRhRC9Rb00zVTRXbGhiNW9w?= =?utf-8?B?YVp3UHRiVDdiS3BZeHhmQjZnVWxzSFhLNGVORSs4ZG5mTTZTcG1qSXhyL0VK?= =?utf-8?B?YUpzaU1DVGNydEpOckFlZ2psL2VNQXN5ZnVURHhLWVRtajdlM3hBYlVEUzdz?= =?utf-8?B?SWcrWTBBUlFIME9JWmZ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-8?Q?4rGhH9r1A7xPoKPQrEWB5sQ=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: a6eeb4a0-5bc5-4e44-4161-08d9dcf11514 X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jan 2022 15:17:05.1169 (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: 1nFkXOISlIadfn65jRykmx4qtLlRoQPex88MfoeBM9E+HJ6dSyPWDg6Pk6NQePRivpFvOqAeS1TIYcvqt1kszQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN7PR11MB2657 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/6/2022 4:03 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 > Tested-by: Sunil Pai G Thanks Xiaoyun, patch looks good to me: Acked-by: Ferruh Yigit Olivier, Just reminder of this patch if you want to to review.