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 DCA4BA00C2; Wed, 8 Dec 2021 07:10:24 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 613E841143; Wed, 8 Dec 2021 07:10:24 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 256DB410E8 for ; Wed, 8 Dec 2021 07:10:21 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10191"; a="237705381" X-IronPort-AV: E=Sophos;i="5.87,296,1631602800"; d="scan'208";a="237705381" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Dec 2021 22:10:21 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,296,1631602800"; d="scan'208";a="461583199" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orsmga003.jf.intel.com with ESMTP; 07 Dec 2021 22:10:20 -0800 Received: from orsmsx605.amr.corp.intel.com (10.22.229.18) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Tue, 7 Dec 2021 22:10:20 -0800 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) 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 via Frontend Transport; Tue, 7 Dec 2021 22:10:20 -0800 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.108) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.20; Tue, 7 Dec 2021 22:10:20 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ks2wJRBtOYhquE8oFZqA7k44yCO7Fap7L2wYTwaEJ23pc0CJVFuEa4qr8S+x/CX3MNL41sM9vdLEPm4YrzJTZx7BU7Ep+OtH3Wdph+ksXhN1Cs5AJQmQry9YDbWi+43baSdqBybkzbeiS16+pf4VBHXOUtlfPjeH3C3lsnkFP3WJJmK+pUWd0wKAu3qco+o5Kivk6ap2gXTHt1eyJO+gOPZOZ/DQydC7QF3Pdwm8BB8+ZVc3HfIlH0dOpblTRHDsWtcKeAbMYyh9/pZxJgy5Kly5I5Cmih/SmBrfFagzwSOejjso+GdzvlUhK5mAkXDOcHHhSh50wLW8LrHwef5Xug== 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=VdeLBfGfk0qw+jfHygMTdl+hOptAqBbvOBChXdErVdw=; b=nLW6IYNHr8d1aKQq0A3mclrS3vmqOy3dzE6QMo+7oB87avFbinqQaxDnlE/3lGWSGM67aiHWrmrQTjuLQnvDgC4rhz0XPIrwsV1OFbxTQ4jeVEjiXqItRoOvm/dYQmLAgCyGLkZSOq7SDXyF6sF/437fa76uZMb+JSaXnrNNSGsZRYUCneN+f44h8VnkdQFFILhQIzvsGAIsstNW8VdWrwsH5Kc0/iI1Kyeh7p0v8veLfR0QhdrJfeBTiGr+tOF1fjVpfpyXpGNgaKItORAUCj922gOrPGOy02VnpphlhzcYb6QyisBSzB1c/gmoTsGlz+CT8LI2weT5DvlIuuQNcA== 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=VdeLBfGfk0qw+jfHygMTdl+hOptAqBbvOBChXdErVdw=; b=IfVou4XaS3UuV8LK8ddvm4Po++P2Xwgjl/5t0ONxmDeJfPP4dPCbIqWYQfskfe/8iXxBcwZ/TJI/anullym4b25UiKZEodKutN8h7CAK4FyWZM4I4zoyPGGMeiIaDx4qNiRdhCbmg02OddWvWG2DR4evl7ZEb9n1ie449ZcX3TA= Received: from DM8PR11MB5605.namprd11.prod.outlook.com (2603:10b6:8:26::11) by DM8PR11MB5621.namprd11.prod.outlook.com (2603:10b6:8:38::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4778.12; Wed, 8 Dec 2021 06:10:19 +0000 Received: from DM8PR11MB5605.namprd11.prod.outlook.com ([fe80::6d19:bd17:7a9:17e1]) by DM8PR11MB5605.namprd11.prod.outlook.com ([fe80::6d19:bd17:7a9:17e1%8]) with mapi id 15.20.4734.023; Wed, 8 Dec 2021 06:10:19 +0000 From: "Pai G, Sunil" To: "Li, Xiaoyun" , "Yigit, Ferruh" , "olivier.matz@6wind.com" , "mb@smartsharesystems.com" , "Ananyev, Konstantin" , "stephen@networkplumber.org" , "Medvedkin, Vladimir" CC: "dev@dpdk.org" , "Li, Xiaoyun" Subject: RE: [PATCH v4 0/2] Add functions to calculate UDP/TCP cksum in mbuf Thread-Topic: [PATCH v4 0/2] Add functions to calculate UDP/TCP cksum in mbuf Thread-Index: AQHX6Du+3+omm86YtE2I9qhXae8BHqwoIlAw Date: Wed, 8 Dec 2021 06:10:19 +0000 Message-ID: References: <20211015051306.320328-1-xiaoyun.li@intel.com> <20211203113805.1025301-1-xiaoyun.li@intel.com> In-Reply-To: <20211203113805.1025301-1-xiaoyun.li@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.6.200.16 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: ed0a8367-1d85-4630-8578-08d9ba116946 x-ms-traffictypediagnostic: DM8PR11MB5621:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: bXacveObXx8UufR2e+ZL2Gb7pWnxigOahAMZ166jkA0+QAjuU9X5hsV7spLNdYPxv1InJxag2IyGPudKp5HqVlD/eo+h4Wba7xcEtPk5IUMnXuEREb8oTArQ1YgRHYSsMKjOCqA2IPH4s3XpvIM2JxtLjAeI9MQ28nDrktvsjLzR6G4ZywNvAU+CN+M3UbiPZ+oB2EGWFttZBMimXhwCrZD3RsqBkVlLRHANkeEt0JRATqoFNieDcuwnKMpV5q6UYEggcRM9D5TL0VlaAPM2wKS0TqJwGkBurPM1qAGSunrR36zZS0mYNvkO/Z1nvx/D2PiRInBDnFrHCcKRcxSN54IdOUKVxR5kKWC6zT8Ctnhqfr2ilY2RxVz/dzmsOgHRt+ZgdFkhFC5vabpsNxBDfFRAFwZHUzT9cGK1zjd94r9s4sw7VCrRCLTxRyj6Q46ZSgUn5egdIi2vU5mekCoGFA+t7DaVM2bmK2CvDd0qA8RJRjGhq8nFqGCzksFSCRK6fTeeaXEo7viyzFLuUG8KJ0Afi24rgyqVTNIOBthkBFfi1rWRCH+JOhXgGtZfsH5tq9Sh/k9shQ2rvXc5xaYOx+sx2Tb5Ok+frExHaV1QcBlyvi62ZbFJDUvBbltMKPsXuQcAY7ol8IGI5ilFsM22VlnvNmpVkE4CQ9fmVm1vmMebiT547kyFqY80AcbKTjAfC+1enaXLL/5hfzap/MbWiCxubpHRl5MptyOwVrgonug= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM8PR11MB5605.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(26005)(76116006)(508600001)(558084003)(86362001)(71200400001)(6636002)(8676002)(38070700005)(122000001)(921005)(186003)(6506007)(54906003)(82960400001)(55016003)(7696005)(8936002)(66446008)(38100700002)(52536014)(5660300002)(316002)(2906002)(66946007)(9686003)(107886003)(66476007)(4326008)(33656002)(110136005)(66556008)(64756008); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?lVNf/dmYTdUab23mJYUr8MMb/V1wSuZfU12lXxM7Ih3C+ZHCt+aAkjTvmay/?= =?us-ascii?Q?NxO6iIQAYlaoKuqsxXcr8Kk2lNR1B8XCztvMHJuhd7zijJPqLISGLaamsBkT?= =?us-ascii?Q?BPjUEvscMi3XAn0bqLEjz+8z4MqMA1whfxEjYDbOFF7gwEJFvp/5qNR2nS1C?= =?us-ascii?Q?mcoTjOLnK3LkC4QFm2nMWiRW3pWkp4JGrM/rh4wOXAntZopgc1plj7t+CDVr?= =?us-ascii?Q?6kMhApwFnkM3xH2aFKajwHt1gl5fz8AmOY1AWTxMv4yEpEBWEPq0H3blxXdM?= =?us-ascii?Q?NoME8lzysoGT4m6PfweytdAjM06DDzNdwTq+yELnUC8yVZy9eJxIuhjpe5Xr?= =?us-ascii?Q?zkczftIHSy+comPos72kfRLu0dv2stiwDCz9UqwMut5M5tk9tqJvdeywPuHp?= =?us-ascii?Q?bTQE066eUTUdwiEIAm3OrGrQ0EYQb9HZGXD120DzvglapgpMxsftofJ84vX8?= =?us-ascii?Q?kWzFS2K96NW+ymOUesxCR/eCy899xVBD1ICGr1B0gAmbc2BvyP9kWckZtCuU?= =?us-ascii?Q?S3X4WqUO04zO6vIlzOX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?us-ascii?Q?jEmvoW9hheP0ioovY/jVImpwdvkRySzX1/IAbU2//0xNm6msaXSxDbRc/WVn?= =?us-ascii?Q?g/A6cId6Y7okAz99rRj7eyrJ/K7qKx08aauxtAjdITB6o+ZkrKO4pFrdSKKv?= =?us-ascii?Q?PU6DfuXo64AIwc6H1P4ytV0Pkiwu9z8hhIz1AKC9l1OzE5ww/E0dqoNNVGVn?= =?us-ascii?Q?okEl4zbqbI2QbH5VhlB6VEY=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM8PR11MB5605.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ed0a8367-1d85-4630-8578-08d9ba116946 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Dec 2021 06:10:19.1900 (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: tqbKdY2/yxh7Kgeu72HdyS/LV+145Ursa1Nz0qJPcQRFj8IQ3mewHk68mBuN7/RocXCdL29nTj/4aVHDGSOJRA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM8PR11MB5621 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 Tested-by: Sunil Pai G Hi ,=20 Tested the series with OVS - with both TCP and UDP packets by printing out= the csum before sending and after reception of packets from testpmd. Getting expected csum values with this patch. Thanks and regards Sunil