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 00ACA45C14; Wed, 30 Oct 2024 13:42:21 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C740A4331C; Wed, 30 Oct 2024 13:42:21 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.14]) by mails.dpdk.org (Postfix) with ESMTP id D3E84402EE for ; Wed, 30 Oct 2024 13:42:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1730292140; x=1761828140; h=date:from:to:cc:subject:message-id:references: content-transfer-encoding:in-reply-to:mime-version; bh=568wnNq/AIjTrYVwksD9jqnpWCsr0b9TpZeVBBxx2xo=; b=ci8oq+8eRYhtF0QEDKB1cbpYPKU0nYPLc64et/fAxpq201jYoA47eAfB Cu8+CIHZ/GClYvyuxX7zNRrO/5GlSulS6xs2B2BLluseMbddbn8mcWNib EjtIyYId2ACmnszLoQn5S8Ocnv5gL5vbAMcqypQQeRVCHZ6bidmisvVrK ZHcYFT0LbxgbK900vxKAjQ5t4CoJfsJXgnCFtU4Phl9MiVFd+pH0nSCYT 7lVzAlK1aJ0yQBXuAJRhvKwzRI7xANKzdxEJeN/XxiP9euld7Kv7qqICy lJcF7M2mSg5SmE3HbScBkixlpa2gAINuLi4i7oG2Tgo+MtQYF0VzBySz1 w==; X-CSE-ConnectionGUID: fUY5PcjvQJyi7UiMl4GfAg== X-CSE-MsgGUID: l5qe5AcLTJyznwhU62izOA== X-IronPort-AV: E=McAfee;i="6700,10204,11241"; a="33788381" X-IronPort-AV: E=Sophos;i="6.11,245,1725346800"; d="scan'208";a="33788381" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by orvoesa106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Oct 2024 05:42:19 -0700 X-CSE-ConnectionGUID: ixwGr6X1RamCeK3L7vVD4A== X-CSE-MsgGUID: IEPNeGJHTbi+fxK36/G3kg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,245,1725346800"; d="scan'208";a="119765970" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orviesa001.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 30 Oct 2024 05:42:19 -0700 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Wed, 30 Oct 2024 05:42:18 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) 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.2507.39 via Frontend Transport; Wed, 30 Oct 2024 05:42:18 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.43) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Wed, 30 Oct 2024 05:42:18 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Wl5ynHAk7uFgabhqA9IuFf7r7W2RPuoMMIN7ZHqsyXG3znOVL8zo2h9UCYpIKLEs21Hfi/2mD3gsx1VJKouJCujevWFglz7H7E6QKAZbs9hwlFA5TMe9TJXP8ExWcm9yJ+1irsl4KSm/uvf5jdmbi4xRdt/3kmu6XV13UqN4pN5aH+haSkp+Cz4BKLs/Efr+pBokFTuUoaOsBql8GAn06zyFCXOyVgl8WhMIhiM4ubnHPhn2vcu4zb28Yiie4u/wQMobMA8djc/jiei3OJdQ6hwL8Wcv3HeHdNACvsz8+f5fTiAKDzrql/r5ZcfCIWIjrIkcv72qTvYJ4fdqmY501g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=55KbQPO/eBIK+wbqsk06VZUTlUN7S8X9ivw1Na6CDA8=; b=ufP5ibukponk2n9eA1IqYGSd6d7PE9iN0OR4VEb+wECHPkj29kWgqf5LNp92KAM+n6DWKrPNWeu60yh5BVtExLi3cHkuZoSuJcWCSvJ1+FMW68BzXfWRLy7V1O6yrgEVYjYfXk2IGf32QkCE4TkvEiuMt/yb8lpm9Y2W/ZxhsIVSUiy8kwQGHvdjWSxCh5MwpXFsZgCbAdU6mJcN5tr5OP0McTmqYYQ4E6bG0EHHHj9OPaMNFEHATk6yDgtoXCjazT4eCTajhGempXVe0lKjaQ/6012TPdNH1UTayOOsiF+oPhiW2X6wEcnG/xWkqBJm5HUXCOVwPi8jOIMhlWlw2g== 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 Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from DS0PR11MB7309.namprd11.prod.outlook.com (2603:10b6:8:13e::17) by BL4PR11MB8800.namprd11.prod.outlook.com (2603:10b6:208:5a7::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8093.32; Wed, 30 Oct 2024 12:42:16 +0000 Received: from DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::f120:cc1f:d78d:ae9b]) by DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::f120:cc1f:d78d:ae9b%4]) with mapi id 15.20.8093.018; Wed, 30 Oct 2024 12:42:16 +0000 Date: Wed, 30 Oct 2024 12:42:11 +0000 From: Bruce Richardson To: Morten =?iso-8859-1?Q?Br=F8rup?= CC: Subject: Re: [RFC PATCH v2] net: 2-byte align packed headers Message-ID: References: <20241011131930.1855-1-mb@smartsharesystems.com> <20241011160653.88028-1-mb@smartsharesystems.com> Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20241011160653.88028-1-mb@smartsharesystems.com> X-ClientProxiedBy: ZR0P278CA0099.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:23::14) To DS0PR11MB7309.namprd11.prod.outlook.com (2603:10b6:8:13e::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR11MB7309:EE_|BL4PR11MB8800:EE_ X-MS-Office365-Filtering-Correlation-Id: a72e43d7-70d9-4f7a-f08c-08dcf8e0490f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|366016|1800799024; X-Microsoft-Antispam-Message-Info: =?iso-8859-1?Q?jmHCZ50RRsqLSU9NYD4kd2ilzeZEfXMW7gFSbBRQY0XASiG/HOXS3m+CQk?= =?iso-8859-1?Q?vQ3tkgo4uK/5hTMdjE2uLMQ/TV6h0UK6FV2JM0pag5r267ImlWhPMtfPtN?= =?iso-8859-1?Q?Ul0ZhvquBXhNYZeuI4EYp5DGsdjPyPItI0uz5pgHY/kK/TUjLt6isU8gxP?= =?iso-8859-1?Q?uBnWOwnsrxBynYroph1pMVwKdorKeiVuBMXwef7CVa0V3NPaMfULA6Toij?= =?iso-8859-1?Q?z38BmORpfU6Y2+VdG8UVmkiibSqw1AvZH3UNNxdcJm/tiRrWy18jdKD9pH?= =?iso-8859-1?Q?DOVFTczTXrgVsXqyeVXPItiw8UNdT/NYt4nwg00eBz99LXgGIVG7PBlIiQ?= =?iso-8859-1?Q?L2fI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9lVNJ8UIW/X?= =?iso-8859-1?Q?lTQAodqTMS2fhN+qoQzCRjNuCkP3OtCbBm70RKMVZMMC5M9jvljOm3Rvsz?= =?iso-8859-1?Q?quz4C/Hl/kktpxbHb91MUHaSrx1B7E7bzjoHBUtzR1pkIRLAAgmiAz7hDa?= =?iso-8859-1?Q?Uf4GbO453d?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DS0PR11MB7309.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(376014)(366016)(1800799024); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?iso-8859-1?Q?JMiD+JGMY8m5WbvDHCYsAbODCBdsn6eJWkFTRzcS6DUKLACGIZQgkCEfGp?= =?iso-8859-1?Q?jVWOQfsJDHe1SE12bEULbhZo/orgtgIi6q1+F0l2IajSAf2NI4JVOmMc+h?= =?iso-8859-1?Q?bdn7+c0iZoUHVX9kGLMC7PIIablZ+EqjBBbq0Ll1Qt17CktJbb0GP8O1rV?= =?iso-8859-1?Q?qedPhoD2q3V2XRbuc0QYuIO8HRHw9vK68ZPSffdMnBz4c8RNsOGCkbCDZv?= =?iso-8859-1?Q?KdkHYVcaTY52FQD87+BQELQPJBrRBd6RTIWQ7vt2frmmr5ynkngRZAA8gV?= =?iso-8859-1?Q?7Pd0TR8jkbLFJytEhwEVo3bLdBU6rLFSDo0d8JcdHHM4w/UCHJJz1o1fvC?= =?iso-8859-1?Q?8U7QyhcjiqI4mddG0u+aub3e/7DSQgYq+RPLBG0ZXwxaepO/bKlikjh06k?= =?iso-8859-1?Q?QjkWuql3WA7ZdMXRc0EDZyAnyHjTQJZA0oj0JLpPRd/WA7A+ZyEtYBZwbN?= =?iso-8859-1?Q?w+JG9N+EKCKvWzkNlPOYEMyALvJCNMb9ByWI+j4PJ9ddDie3I3U0QXNdd6?= =?i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b8h7CZGHXR2rLV4?= =?iso-8859-1?Q?dWpktWEuNGj6Isijil/tFRBPf9dyx/cupm3y0+aDJz+YWZPO/2J9qkkCsW?= =?iso-8859-1?Q?jfxgJNFNlIgWL4bGQFk0dUWfj8+t+VNQFmJ+c/tQUwAxI480vpdaH4XfzK?= =?iso-8859-1?Q?Gfg58fduzjusm2oZpM8xSkrmcebDR1L09gfMQ1m6djGLOPaduuUTfou4QX?= =?iso-8859-1?Q?5pN2Hps+hHimB+RBhGC3I/c08USeK49noXAuvD7jSGNFxIirK0lyL2gA?= =?iso-8859-1?Q?=3D=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: a72e43d7-70d9-4f7a-f08c-08dcf8e0490f X-MS-Exchange-CrossTenant-AuthSource: DS0PR11MB7309.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Oct 2024 12:42:16.3446 (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: 8jQQofb0vmufvGyXfdUZgZP+JDWqth9jAMwyYxAQsPjm9LPTS2ZKo11gJm7VrxaT1FbfDz9XpZq4LyWtRnvbV/aQhRdrI8B8Py+gFSAyd18= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL4PR11MB8800 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 Fri, Oct 11, 2024 at 04:06:53PM +0000, Morten Brørup wrote: > Network headers are (at minimum) 2-byte aligned. > Mark them as such. > > Signed-off-by: Morten Brørup > --- > lib/net/rte_esp.h | 10 +++++++++- > lib/net/rte_ether.h | 23 ++++++++++++++++++++--- > lib/net/rte_geneve.h | 2 +- > lib/net/rte_icmp.h | 12 ++++++------ > lib/net/rte_ip.h | 30 ++++++++++++++++++++++++++---- > lib/net/rte_sctp.h | 9 ++++++++- > lib/net/rte_tcp.h | 9 ++++++++- > lib/net/rte_udp.h | 11 +++++++++-- > lib/net/rte_vxlan.h | 9 ++++++++- > 9 files changed, 95 insertions(+), 20 deletions(-) > Acked-by: Bruce Richardson