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 AD143A0093; Fri, 17 Jun 2022 15:57:05 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4980E41141; Fri, 17 Jun 2022 15:57:05 +0200 (CEST) Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2058.outbound.protection.outlook.com [40.107.21.58]) by mails.dpdk.org (Postfix) with ESMTP id 2AEDA40DDD; Fri, 17 Jun 2022 14:17:36 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Kt0M3L8vufBk2FYAgbcRSxvX4IW0S/O7BAF98NeNDSuxIajE/X9J+xX1ixKVmPFebir0yTPx8FiRxGaC07o9lzzGTEglDb1x8PiKBhMqmS+fIv9N753pU69BNQlE5cAYh5Mo40KsBhYdhJY/Qz4lx8DpQAv7/mfu5kLZvjFgaYD+j9NO5n29dboZOMXl23zm2wsYU6BTqllzkixgDrl4KUNX1ZEKwUjLkS1/0V2RfDrmz5m3K6AuqgiB0KvAd/2HeQLTxgKmoDItHwSQKwOJsKp2PxaUVZ9xS+Q/Lrm2uJUQ+kGBxb4Wc8ChDBLwUwkmo6DPz+SO+td5zpNPG6XOLw== 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=ZjUbzdhnMxOqJ5BwM2nX3vVggMG5P+ElKHyL0x0UMp4=; b=Ea1XOELSNcbiLJVxwr3uyIRSICQU48s1SABFnv3pPiL/YjgpnyEA/A7wFKMpgmoNmry26eM7EYSgXcM8p220GK/uUITUk35Bg4AoWl3gWEosFTBbgI4f7/J5Penx6r1Ltryqznc2W4jjDIGSOFo2XiUF6VyI8Pb8Br41uqFVb5VgzuRIvViOQtA1RyPo8AaQK9xJQIkfN74WCCVPebLtdoLCSR2mD9v0SlW7ps9H/JeFm8bDX30rEcHtaWeNCYYhvIyy5zSy0KG0/yBiQSA5LftMJxQEXQREA+0/IxL5dXxVnb2P/dc0qXE3uBN0dYsGzOp/vFODWcnFT8B1nfexMg== 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=ZjUbzdhnMxOqJ5BwM2nX3vVggMG5P+ElKHyL0x0UMp4=; b=NVU6GtNp8tLcrX9xi3YtPW/Z/tuBR29zkJxHJ63do6nC31po/6vR1n8WDoR4YchZvDo7jLlt9Qd1IJ34BYfCbq8Zn2SjJgFJdgz3PpxmwknrgZp1JyTJM1ho2kdYqSwom6RGgu2Z9nVrs9wF29PSkRDr8oQSY+pQyghxfQyONTk= Received: from AM8PR07MB7666.eurprd07.prod.outlook.com (2603:10a6:20b:240::23) by AM9PR07MB7187.eurprd07.prod.outlook.com (2603:10a6:20b:2d1::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5373.9; Fri, 17 Jun 2022 12:17:35 +0000 Received: from AM8PR07MB7666.eurprd07.prod.outlook.com ([fe80::188:e139:774e:cea1]) by AM8PR07MB7666.eurprd07.prod.outlook.com ([fe80::188:e139:774e:cea1%7]) with mapi id 15.20.5373.009; Fri, 17 Jun 2022 12:17:35 +0000 From: Emil Berg To: =?utf-8?B?TW9ydGVuIEJyw7hydXA=?= CC: "stable@dpdk.org" , "bugzilla@dpdk.org" , "hofors@lysator.liu.se" , "olivier.matz@6wind.com" , "dev@dpdk.org" Subject: RE: [PATCH] net: fix checksum with unaligned buffer Thread-Topic: [PATCH] net: fix checksum with unaligned buffer Thread-Index: AQHYgiaa5HfwvbWOiEyQ5g/wygBtSq1TTuaAgAA06OA= Date: Fri, 17 Jun 2022 12:17:35 +0000 Message-ID: References: <98CBD80474FA8B44BF855DF32C47DC35D87139@smartserver.smartshare.dk> <20220617084505.62071-1-mb@smartsharesystems.com> <98CBD80474FA8B44BF855DF32C47DC35D8713A@smartserver.smartshare.dk> In-Reply-To: <98CBD80474FA8B44BF855DF32C47DC35D8713A@smartserver.smartshare.dk> 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: 9e36bed1-4c39-459b-c0d8-08da505b5c8e x-ms-traffictypediagnostic: AM9PR07MB7187:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: OE0v26pWXQ2wTznwzNG0J6t5khQ4Jjlm4VZBR2HFd63VPnmYZ1CPdOD+GywiNpFL/FArFS/52UFZaxb7cufqJ9pkVv6j2ngUYkXF2pnOgd+3kTl58MTNumRZq6EdrUISX5zljiR7aMSCkkV1hZ7Zk3Thp3h46Iwb0KZbb4eWn6aJHkD7r17mhoizubl4ucxwHfamqpHm6Uxa7qrUMdiNTADhx+aIHwCtN5QfmisKFG8tLrbvqDErSF3m4xEBxMkXtlGU85/ODSBdHtQkcEcnUM5buJ5KuTd7S2uLmuyKxVS7q2odO+gKJXTe/fqvhERpaZkJ1BhrL1nnVSS4M3/q5fjW+yzzxsZu/dE5PlshaYZXj3692QCjRzYzV8TWtRxjrHApQw2eKfTCKVQmKlSpGQYFUftp1wAk6tSRUo6BsrTNl0mga2Kl0N4mvUiZ/5i9A+k6yNQ65BTjV2ys1Ovcss0TUKSM4m3OYIgLgz8sD5mWhmVLNENHe1Ngi42U8bwjBHo9Z5v58G9dQfdsIC9dyNx0T8KQERvKqmHtabNPgP5dDAWx52jJtpUB+U0YV2fg9rrEI+KBqSq8InVhZEjrM58oG8LL7m4xd8301mBZu+xgA8GvkDUbUwnquUPiJolUQRWds28S5zYrOJbSVAC+cABotvx4fHO18Tdb+EDlNDwY5MCq2FTpISAd+Fubf+HoEJlkkWPrm1bOAQoJoyHIg1SE0OrTvIs7ZuBkQe+ND04r4E3TTD2xEgjK9m+b97Au 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)(366004)(8936002)(71200400001)(53546011)(122000001)(66446008)(44832011)(6506007)(2906002)(7696005)(38070700005)(86362001)(83380400001)(82960400001)(52536014)(498600001)(66476007)(26005)(5660300002)(33656002)(55016003)(9686003)(54906003)(4326008)(66946007)(316002)(76116006)(38100700002)(64756008)(66574015)(6916009)(186003)(66556008)(8676002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?Z2drZWt6T0xMNFlOclhmdkMvS1gvSzAxOEJOdk5nQkovamxxSFVaQW5VZVAx?= =?utf-8?B?K3l0VFJkdmpmNElWSHNrUHhYZ2ErUk1oV2lhS0VTMG1LbUEwMERVYndYQ1Vz?= =?utf-8?B?TGM5cDRIcFYySi90cS9sWmtvdndoZTlMRnhUM3hYUHpRU3k4d0liUkZScXk2?= =?utf-8?B?cEdTNllia2pUaGNibEZtK3NlOE5kQ3ZZWXRQclkweFlUVUh1aGJ4bmpuQ1Q5?= =?utf-8?B?Q0pRZ3d5K2tYemdiZkg1N01kWE1iZEFJZCs2MEV2NmV6TFhKUWlyVU41MGtp?= =?utf-8?B?K0Fp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NvYW1zNlU2UjZ1T201dTVKUFFTbk1rdVRL?= =?utf-8?B?MjdlRVA2R2VZUHBtc3NWSVpDTE5WOXhSSUUrZmM0czFVZzVTL25jRFQ5N01S?= =?utf-8?B?SXhPRmV3S0FScnllMXRnTzFrQWZXOURFMGcxZ2xUWjI0OTlUWmVTeXBUbi9M?= =?utf-8?B?dEpGcmRBU2FHb1dKSTJNaTJGa3FrYm5zd1BzMGQwZWlIaTJRMlVWL096bm41?= =?utf-8?B?SUYxYUxBWWtubm9MYmFVamxxT2NQWUVaRWlkWTZjd0JwWXI3ZVYvZz09?= 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: 9e36bed1-4c39-459b-c0d8-08da505b5c8e X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Jun 2022 12:17:35.0983 (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: J/7Q9TivjgIy/W3eoa7+hWEYxfmrVNgS2QUK74N1jG86QufCEU+utTW29IC0KrmoyUxbo89/xeK5UqU3/iOVaQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR07MB7187 X-Mailman-Approved-At: Fri, 17 Jun 2022 15:57:03 +0200 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 PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBNb3J0ZW4gQnLDuHJ1cCA8bWJA c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