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 85448439BE; Thu, 25 Jan 2024 08:19:19 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F187E427D7; Thu, 25 Jan 2024 08:19:18 +0100 (CET) Received: from dkmailrelay1.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id D9A8F4029B for ; Thu, 25 Jan 2024 08:19:17 +0100 (CET) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesys.local [192.168.4.10]) by dkmailrelay1.smartsharesystems.com (Postfix) with ESMTP id B02CD207C3; Thu, 25 Jan 2024 08:19:17 +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 0/9] use C11 alignof X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Thu, 25 Jan 2024 08:19:12 +0100 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35E9F19D@smartserver.smartshare.dk> In-Reply-To: <1706138276-28224-1-git-send-email-roretzla@linux.microsoft.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH 0/9] use C11 alignof Thread-Index: AdpPG5b4oYcAAus+Tnq1i24TBL3N4wAQyTUA References: <1706138276-28224-1-git-send-email-roretzla@linux.microsoft.com> From: =?iso-8859-1?Q?Morten_Br=F8rup?= To: "Tyler Retzlaff" , Cc: "Akhil Goyal" , "Andrew Rybchenko" , "Anoob Joseph" , "Ferruh Yigit" , "Honnappa Nagarahalli" , "Jerin Jacob" , "Konstantin Ananyev" , "Nithin Dabilpuram" , "Ori Kam" , "Pavan Nikhilesh" , "Thomas Monjalon" , "Volodymyr Fialko" 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: Thursday, 25 January 2024 00.18 >=20 > Replace use of __alignof__(T) and __alignof__(e) with C11 alignof(T) > and alignof(typeof(e)) respectively to improve portability of the code > between toolchains. >=20 > Tyler Retzlaff (9): > ring: use C11 alignof > mbuf: use C11 alignof > ethdev: use C11 alignof > eventdev: use C11 alignof > stack: use C11 alignof > node: use C11 alignof > pdcp: use C11 alignof > reorder: use C11 alignof > security: use C11 alignof >=20 > lib/ethdev/ethdev_driver.c | 3 ++- > lib/ethdev/rte_flow.c | 3 ++- > lib/eventdev/rte_eventdev.c | 3 ++- > lib/mbuf/rte_mbuf_dyn.c | 3 ++- > lib/node/node_private.h | 4 +++- > lib/pdcp/rte_pdcp.c | 4 +++- > lib/reorder/rte_reorder.c | 3 ++- > lib/ring/rte_ring.c | 3 ++- > lib/security/rte_security.c | 5 +++-- > lib/stack/rte_stack.c | 3 ++- > 10 files changed, 23 insertions(+), 11 deletions(-) >=20 > -- Series-Acked-by: Morten Br=F8rup