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 B3A2B43038; Sat, 12 Aug 2023 00:24:08 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C76A543289; Sat, 12 Aug 2023 00:23:16 +0200 (CEST) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id B75DD40F17 for ; Sat, 12 Aug 2023 00:23:03 +0200 (CEST) Received: by linux.microsoft.com (Postfix, from userid 1086) id B90E020FD0F1; Fri, 11 Aug 2023 15:23:02 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com B90E020FD0F1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1691792582; bh=rzP5dj3BA9orkfiq5qin5YXA9YBFhEOyhm8OjYhXgIA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nwsvgzsIcDxJqKNr/ur12LgnH4qe800TdoqVFvz7H6lIUDVF1lJrgJWiOx5qZ81If c256611Q5Py3UI9ywO2dgHJR/yeVz3IFArRk5ZGZvcD1+u9AQQ4QWEgBi2lP3gP5x0 ugfqJdt4yyo9TnIl2hwFDB63ZaY0EUWeNZsyCf48= 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 10/32] net: remove use of RTE STD C11 macro Date: Fri, 11 Aug 2023 15:22:25 -0700 Message-Id: <1691792567-10805-11-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/net/rte_ecpri.h | 3 --- lib/net/rte_higig.h | 1 - lib/net/rte_l2tpv2.h | 2 -- 3 files changed, 6 deletions(-) diff --git a/lib/net/rte_ecpri.h b/lib/net/rte_ecpri.h index 73b8a45..137c44f 100644 --- a/lib/net/rte_ecpri.h +++ b/lib/net/rte_ecpri.h @@ -66,7 +66,6 @@ /** * eCPRI Common Header */ -RTE_STD_C11 struct rte_ecpri_common_hdr { union { rte_be32_t u32; /**< 4B common header in BE */ @@ -123,7 +122,6 @@ struct rte_ecpri_msg_gen_data { /** * eCPRI Message Header of Type #4: Remote Memory Access */ -RTE_STD_C11 struct rte_ecpri_msg_rm_access { #if RTE_BYTE_ORDER == RTE_LITTLE_ENDIAN uint32_t ele_id:16; /**< Element ID */ @@ -169,7 +167,6 @@ struct rte_ecpri_msg_event_ind { /** * eCPRI Combined Message Header Format: Common Header + Message Types */ -RTE_STD_C11 struct rte_ecpri_combined_msg_hdr { struct rte_ecpri_common_hdr common; union { diff --git a/lib/net/rte_higig.h b/lib/net/rte_higig.h index bba3898..7991f6d 100644 --- a/lib/net/rte_higig.h +++ b/lib/net/rte_higig.h @@ -136,7 +136,6 @@ struct rte_higig2_ppt_type1 { * * higig2 header */ -RTE_STD_C11 struct rte_higig2_hdr { struct rte_higig2_frc fcr; union { diff --git a/lib/net/rte_l2tpv2.h b/lib/net/rte_l2tpv2.h index d41123a..9cda347 100644 --- a/lib/net/rte_l2tpv2.h +++ b/lib/net/rte_l2tpv2.h @@ -94,7 +94,6 @@ /** * L2TPv2 Common Header */ -RTE_STD_C11 struct rte_l2tpv2_common_hdr { union { /** header flags and protocol version */ @@ -218,7 +217,6 @@ struct rte_l2tpv2_msg_without_all_options { /** * L2TPv2 Combined Message Header Format: Common Header + Options */ -RTE_STD_C11 struct rte_l2tpv2_combined_msg_hdr { struct rte_l2tpv2_common_hdr common; /**< common header */ union { -- 1.8.3.1