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 32F64439BD; Thu, 25 Jan 2024 00:18:03 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EC613402CD; Thu, 25 Jan 2024 00:18:02 +0100 (CET) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id 2F07A4026C for ; Thu, 25 Jan 2024 00:18:01 +0100 (CET) Received: by linux.microsoft.com (Postfix, from userid 1086) id 7EEEA20E567C; Wed, 24 Jan 2024 15:18:00 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 7EEEA20E567C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1706138280; bh=aaoVVyrn8ghg3BGviZFaVn3ocL0ZaOFPbsqN19hrBx0=; h=From:To:Cc:Subject:Date:From; b=c4K0/r0A2sJDx1M7/CEWW8VLdv4t2SK3+byWev0ncDXPWLfYIgUBXAiYjmjoAwC3y 2DAXWvuYUV0edOl64y+6CYLPriPmXg94RLCIzAWY+HgJk66qhU+lZPeSDklB9Dpsck 1q3ZRP/p0wrG8SzEUS+gY8KJDsLQ8eGQih8htw2s= From: Tyler Retzlaff To: dev@dpdk.org 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 , Tyler Retzlaff Subject: [PATCH 0/9] use C11 alignof Date: Wed, 24 Jan 2024 15:17:47 -0800 Message-Id: <1706138276-28224-1-git-send-email-roretzla@linux.microsoft.com> X-Mailer: git-send-email 1.8.3.1 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 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. 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 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(-) -- 1.8.3.1