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 7FD4443B29; Wed, 14 Feb 2024 09:22:15 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6D66B40A7A; Wed, 14 Feb 2024 09:22:15 +0100 (CET) Received: from dkmailrelay1.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id EB73E40263 for ; Wed, 14 Feb 2024 09:22:13 +0100 (CET) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesys.local [192.168.4.10]) by dkmailrelay1.smartsharesystems.com (Postfix) with ESMTP id C1CEA2011D; Wed, 14 Feb 2024 09:22:13 +0100 (CET) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: [PATCH v3 39/39] ip_frag: use C11 alignas X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Wed, 14 Feb 2024 09:22:12 +0100 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35E9F215@smartserver.smartshare.dk> In-Reply-To: <1707894382-307-40-git-send-email-roretzla@linux.microsoft.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH v3 39/39] ip_frag: use C11 alignas Thread-Index: AdpfFOPvu5vv3X/tQ7miezKxfQ9yWAACfV4w References: <1707873986-29352-1-git-send-email-roretzla@linux.microsoft.com> <1707894382-307-1-git-send-email-roretzla@linux.microsoft.com> <1707894382-307-40-git-send-email-roretzla@linux.microsoft.com> From: =?iso-8859-1?Q?Morten_Br=F8rup?= To: "Tyler Retzlaff" , Cc: "Andrew Rybchenko" , "Bruce Richardson" , "Chengwen Feng" , "Cristian Dumitrescu" , "David Christensen" , "David Hunt" , "Ferruh Yigit" , "Honnappa Nagarahalli" , "Jasvinder Singh" , "Jerin Jacob" , "Kevin Laatz" , "Konstantin Ananyev" , "Min Zhou" , "Ruifeng Wang" , "Sameh Gobriel" , "Stanislaw Kardach" , "Thomas Monjalon" , "Vladimir Medvedkin" , "Yipeng Wang" 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 > From: Tyler Retzlaff [mailto:roretzla@linux.microsoft.com] > Sent: Wednesday, 14 February 2024 08.06 >=20 > * Move __rte_aligned from the end of {struct,union} definitions to > be between {struct,union} and tag. >=20 > The placement between {struct,union} and the tag allows the desired > alignment to be imparted on the type regardless of the toolchain > being > used for all of GCC, LLVM, MSVC compilers building both C and C++. >=20 > * Replace use of __rte_aligned(a) on variables/fields with alignas(a). >=20 > Signed-off-by: Tyler Retzlaff > --- Series-acked-by: Morten Br=F8rup