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 77C5343038; Sat, 12 Aug 2023 00:24:30 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 89CA643299; Sat, 12 Aug 2023 00:23:21 +0200 (CEST) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id F235243259 for ; Sat, 12 Aug 2023 00:23:03 +0200 (CEST) Received: by linux.microsoft.com (Postfix, from userid 1086) id E6EC120FD0FC; Fri, 11 Aug 2023 15:23:02 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com E6EC120FD0FC DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1691792582; bh=0FCxgwqa21ilOgfnVim9zCg/p6KPJK1EvNrbv1bTQu0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BiyfGA+yvWFJOEgp2hm85YDyPAasNUAgeBVNTQxAMuGjXw5EDFoeQbrh3UiUAQjfz JtHw1Bx3aLg4UL3QUYQpBUiyhiUJUvfAokFm6KusZTLWXJ2ZVJmdeXKdLk1q58ja6M ZBbOuGgD6NVRClAJ1iAoTlyz98Gdp2a/U/zFcX3Y= From: Tyler Retzlaff To: dev@dpdk.org Cc: Akhil Goyal , Anatoly Burakov , Andrew Rybchenko , Bruce Richardson , Chengwen Feng , Cristian Dumitrescu , David Hunt , Erik Gabriel Carrillo , Fan Zhang , Ferruh Yigit , Harman Kalra , Hemant Agrawal , Honnappa Nagarahalli , Jerin Jacob , Junfeng Guo , Kevin Laatz , Kiran Kumar K , Konstantin Ananyev , Matan Azrad , Matt Peters , Naga Harish K S V , Nithin Dabilpuram , Olivier Matz , Ori Kam , Radu Nicolau , Sachin Saxena , Sameh Gobriel , Satha Rao , Simei Su , Srikanth Yalavarthi , Steven Webster , Suanming Mou , Sunil Kumar Kori , Thomas Monjalon , Viacheslav Ovsiienko , Vladimir Medvedkin , Yipeng Wang , Zhirun Yan , Tyler Retzlaff Subject: [PATCH 13/32] mbuf: remove use of RTE STD C11 macro Date: Fri, 11 Aug 2023 15:22:28 -0700 Message-Id: <1691792567-10805-14-git-send-email-roretzla@linux.microsoft.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1691792567-10805-1-git-send-email-roretzla@linux.microsoft.com> References: <1691792567-10805-1-git-send-email-roretzla@linux.microsoft.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 C11 conformant compiler is documented as a minimum requirement to build and consume DPDK. Remove use of RTE_STD_C11 macro marking use of C11 features with __extension__ since it is no longer necessary. Signed-off-by: Tyler Retzlaff --- lib/mbuf/rte_mbuf_core.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/mbuf/rte_mbuf_core.h b/lib/mbuf/rte_mbuf_core.h index 2030b3b..e9bc0d1 100644 --- a/lib/mbuf/rte_mbuf_core.h +++ b/lib/mbuf/rte_mbuf_core.h @@ -522,7 +522,6 @@ struct rte_mbuf { * would have RTE_PTYPE_L2_ETHER and not RTE_PTYPE_L2_VLAN because the * vlan is stripped from the data. */ - RTE_STD_C11 union { uint32_t packet_type; /**< L2/L3/L4 and tunnel information. */ __extension__ @@ -531,7 +530,6 @@ struct rte_mbuf { uint8_t l3_type:4; /**< (Outer) L3 type. */ uint8_t l4_type:4; /**< (Outer) L4 type. */ uint8_t tun_type:4; /**< Tunnel type. */ - RTE_STD_C11 union { uint8_t inner_esp_next_proto; /**< ESP next protocol type, valid if @@ -555,7 +553,6 @@ struct rte_mbuf { /** VLAN TCI (CPU order), valid if RTE_MBUF_F_RX_VLAN is set. */ uint16_t vlan_tci; - RTE_STD_C11 union { union { uint32_t rss; /**< RSS hash result if RSS enabled */ @@ -614,7 +611,6 @@ struct rte_mbuf { #endif /* fields to support TX offloads */ - RTE_STD_C11 union { uint64_t tx_offload; /**< combined for easy fetch */ __extension__ -- 1.8.3.1