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 2B0AAA00C3 for ; Sun, 3 Jul 2022 21:56:37 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F12504021F; Sun, 3 Jul 2022 21:56:36 +0200 (CEST) Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30071.outbound.protection.outlook.com [40.107.3.71]) by mails.dpdk.org (Postfix) with ESMTP id 61DEA40694; Fri, 1 Jul 2022 06:11:18 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=E/cYssQUU42N/I4NaFkzhEGXAmIJTarCksSTBNaKuuY/P0dAKkK1chARhl0NHAHRVvBjDNHHCnHQdKUh+z4gyCqy+lBIy2I3lFWRd9sXmdJcJXcgELPJDD2MrpPMnjXPhHrlUGQjIKPXeOu9pI6cgppoRePMaDxJ8/I8KuL5yI6xwxs/npIgpUANKu8e5p9iYfAt9bkFMf5GP9ruywTh18NqHVmOFG+7FTpXFiiaWTLhM3lBivvv2lnNWLTW2S9lDo14HGq5sRryR0VfKw+2SH5Gu+bJ4JczvqKb/c26plzW2fGApHjA29A07IpXJwbKW+y7mvlg8sEaWMxU5DEe7w== 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=KAuMAAMLGepZwK7mSpjKFQt2jyFUmxfN9rKvIkDcS9A=; b=NaKAjqmkE2YbsNGQ/X6x8JEW3h/8uTN91Kp/rvXAcjargz7lUaeBiT2sX4sur8IZzOBXtZuadPaq95jwXVVfAyTL7s6y4BAOlExjDIFdz6lKGaQlRzEdlA0FA0hIQbwrrwjWnnVYFOmA6lxhfexsUMTOEBJ44oM4xiNuj4YJzWaXM4gF99+IiSpheZ4ASY1+wNGxVWBIUsOLfsl71z0r2LIjpH53vZ2q7hQmtLAFJGt+/j2XE2xnkh9sh45sH3yL/xWojYAUSRwf8d+dXtawWQ6bfqeGOm9DqN/mcNnfY2JH1UPXdCC4g3xKkp8udJP8PuoKnG3Z2yP0iANbryf7Zw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=KAuMAAMLGepZwK7mSpjKFQt2jyFUmxfN9rKvIkDcS9A=; b=ph1HY8ZpnjEVXQRbLhh5dOvaQAUjV5eSD3DFQ/YD2PCFbba+bWtuZQZHgOA10/rVoR/57M3MAqJ1cFU83FKFJDYhxXs0fOsbdDMjC6WniizQOgVsHr9unxZNz9Er76kjEZx6Y2WsufS87xFC8IWI4coU9KkEhDeBJiwi9KievVY= Received: from AM8PR07MB7666.eurprd07.prod.outlook.com (2603:10a6:20b:240::23) by AM7PR07MB6392.eurprd07.prod.outlook.com (2603:10a6:20b:13a::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.8; Fri, 1 Jul 2022 04:11:17 +0000 Received: from AM8PR07MB7666.eurprd07.prod.outlook.com ([fe80::188:e139:774e:cea1]) by AM8PR07MB7666.eurprd07.prod.outlook.com ([fe80::188:e139:774e:cea1%9]) with mapi id 15.20.5395.014; Fri, 1 Jul 2022 04:11:17 +0000 From: Emil Berg To: Stephen Hemminger , =?utf-8?B?TW9ydGVuIEJyw7hydXA=?= CC: "bruce.richardson@intel.com" , "dev@dpdk.org" , "stable@dpdk.org" , "bugzilla@dpdk.org" , "hofors@lysator.liu.se" , "olivier.matz@6wind.com" Subject: RE: [PATCH v4] net: fix checksum with unaligned buffer Thread-Topic: [PATCH v4] net: fix checksum with unaligned buffer Thread-Index: AQHYhv48fmD0p9rOd0KzPCydzCSkQq1oRHaAgACtsMA= Date: Fri, 1 Jul 2022 04:11:17 +0000 Message-ID: References: <98CBD80474FA8B44BF855DF32C47DC35D87139@smartserver.smartshare.dk> <20220623123900.38283-1-mb@smartsharesystems.com> <20220630104545.55d4e870@hermes.local> In-Reply-To: <20220630104545.55d4e870@hermes.local> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=ericsson.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 07776a4e-f933-4107-6f5a-08da5b17bf15 x-ms-traffictypediagnostic: AM7PR07MB6392:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: bNUnaToTdqNkgYGZVr+nTOyhKqlBD+SHk3on3iR0XC9yB+aSDqAIeqsTY3zM4oS/VVvtDFKmGVYQhlrxfO7rqDmtg7wOXGYl6ci//KNqUsBfMQ7Soao4oOoTqYIjoM9dRGEHSJavQQTLBhYbtganvIy0K5mdTMCXFDfnpG8DOD4XXRLGOkvu1yWqbSmfoYwQkvEGVpt3bSU/XXu26hopAy1QZ/uvVBA2LF/erQWMh4qI/4ZVOUYgGq79P9ZMIHSZ9CtyEOisw0OjE2jkITrtshrlmfLWv/aGd9KLISLXDDbQYBMfNdv+9p1PGfPqqSIG0KvVftgnzuuKtjTbZ5Rjm8uj0bap5fdfhJKjvU8rHZsDKFicENKIvGQu3ssWgdPAOtEENyiOstk8D7zFM1hE+txpTy6QUdDOkI+TFg2YzE94LizKHHFgPe12oQfocLkweGAS3QWDr/7pANEMDlRYECZRqLT1kgfMKQNJ8WjVLO1qPxnUEdQxQgQLuOQboWIpju0HYt3IQm6LOcWfFscU1fylARg9IvdKpkzF5f8S9zIDn15l3JCrZtKsnl/lAYHbyvN7UFiW5yJLRn7ofjGMe6iebtp9Zf/T5LnuqT8uvcmEBQqnUMWhTwNxcBbJu/Dh/kC/yDs8V8gzE3UlKKlOH6l3rWm+nEjxd++jr5LEC8H8CYpqDmdNWXJh6iKawRIfYzpcgJLNosKRv+fESkJyZp5h14cdXJ3jQii5E0wnjNuLm6IDdJSU2I60egsEIlST8j+mIN1fqtUs9QhwzUzjaLR90UzjFqD7K01WYGQh13WOyE+MA6azhqpOo2rqdxL+UtX3z9xcvlyBW4MNv3/m+qHUwzHrXWhaz3yUGCdO64Y= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM8PR07MB7666.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(4636009)(396003)(136003)(376002)(346002)(366004)(39860400002)(55016003)(71200400001)(83380400001)(122000001)(5660300002)(7696005)(66446008)(66946007)(66556008)(44832011)(76116006)(26005)(64756008)(9686003)(4326008)(8676002)(53546011)(66476007)(966005)(2906002)(86362001)(8936002)(33656002)(38070700005)(316002)(52536014)(38100700002)(478600001)(110136005)(186003)(54906003)(66574015)(6506007)(41300700001)(82960400001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?cmZLdUlDelpzZHdnVUZyWk1vYWFNZkdONXU5WFFCZm9HT3A2Z3BYYWNYd0hZ?= =?utf-8?B?RVphdFBIZjVpN3BHQkhydkpwWDBHU3puRWFiVmxjb1UzVkp2UVdkSDRkQ1gx?= =?utf-8?B?WUpKdU1wWTUvRVZBZGIwaklsdXhDZkFKbjZtdlY3Z2JqaGtJM0Zjb3BZRG0w?= =?utf-8?B?b0lXQVNJSWwvTVl1dFBSNmQvaGFUZTU0d2RtMEplTXNrY2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em5PcDF0TmJJRkNNV3BTSzZMOWNlOW00anBXek9PaE5Z?= =?utf-8?B?SWtPZGZGM0tEN3h5VkNwcTV0b0xtVkZQcFk0QngwbityWXFsbXdXSWxTd0Y2?= =?utf-8?Q?RFAWbrqFI180ob3Ojya4686Gw?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: ericsson.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: AM8PR07MB7666.eurprd07.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 07776a4e-f933-4107-6f5a-08da5b17bf15 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Jul 2022 04:11:17.4105 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 1cp+/fyPLzeMefIhXwyMXXpqpmJj1gyxhJNIbvZqdfrXlOhcdthopWhpRME7RBkNZpc0NKB2wblGPnV4Urd53w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR07MB6392 X-Mailman-Approved-At: Sun, 03 Jul 2022 21:56:35 +0200 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogU3RlcGhlbiBIZW1taW5n ZXIgPHN0ZXBoZW5AbmV0d29ya3BsdW1iZXIub3JnPg0KPiBTZW50OiBkZW4gMzAganVuaSAyMDIy IDE5OjQ2DQo+IFRvOiBNb3J0ZW4gQnLDuHJ1cCA8bWJAc21hcnRzaGFyZXN5c3RlbXMuY29tPg0K PiBDYzogRW1pbCBCZX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