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 4A80243038; Sat, 12 Aug 2023 00:24:25 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 70AD643295; Sat, 12 Aug 2023 00:23:20 +0200 (CEST) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id C1335410DC for ; Sat, 12 Aug 2023 00:23:03 +0200 (CEST) Received: by linux.microsoft.com (Postfix, from userid 1086) id A939820FD0ED; Fri, 11 Aug 2023 15:23:02 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com A939820FD0ED DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1691792582; bh=H7yF9FF5XsQIalvXbxJzsNNQ9GqiMFnaxW2UjgAUEE0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Vx6r5SzalTCNGafklfGU1SW5oRE7H+PtL4Wxs7RY5QR5jGf9pFJuiaXdn3yJxWjQC ZzP8HToXPdbMy/q2rpl434xnNnj8Js3XL5x0G2YlKtOwnbI0P8BBFXjYLJGIgwKwnz 0j/J7nNgdW/z/BlAi7T3gwPn9cxwE7NWr1+z6X/g= 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 09/32] pipeline: remove use of RTE STD C11 macro Date: Fri, 11 Aug 2023 15:22:24 -0700 Message-Id: <1691792567-10805-10-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/pipeline/rte_pipeline.h | 1 - lib/pipeline/rte_swx_ipsec.h | 1 - lib/pipeline/rte_table_action.h | 4 ---- 3 files changed, 6 deletions(-) diff --git a/lib/pipeline/rte_pipeline.h b/lib/pipeline/rte_pipeline.h index 68ab40d..ec51b9b 100644 --- a/lib/pipeline/rte_pipeline.h +++ b/lib/pipeline/rte_pipeline.h @@ -212,7 +212,6 @@ struct rte_pipeline_table_entry { /** Reserved action */ enum rte_pipeline_action action; - RTE_STD_C11 union { /** Output port ID (meta-data for "Send packet to output port" action) */ diff --git a/lib/pipeline/rte_swx_ipsec.h b/lib/pipeline/rte_swx_ipsec.h index a43e341..7c07fdc 100644 --- a/lib/pipeline/rte_swx_ipsec.h +++ b/lib/pipeline/rte_swx_ipsec.h @@ -263,7 +263,6 @@ struct rte_swx_ipsec_sa_params { /** Crypto operation parameters. */ struct { - RTE_STD_C11 union { struct { /** Crypto cipher operation parameters. */ diff --git a/lib/pipeline/rte_table_action.h b/lib/pipeline/rte_table_action.h index 82bc9d9..5dffbeb 100644 --- a/lib/pipeline/rte_table_action.h +++ b/lib/pipeline/rte_table_action.h @@ -225,7 +225,6 @@ struct rte_table_action_meter_profile { /** Traffic metering algorithm. */ enum rte_table_action_meter_algorithm alg; - RTE_STD_C11 union { /** Only valid when *alg* is set to srTCM - IETF RFC 2697. */ struct rte_meter_srtcm_params srtcm; @@ -487,7 +486,6 @@ struct rte_table_action_encap_vxlan_params { struct rte_table_action_ether_hdr ether; /**< Ethernet header. */ struct rte_table_action_vlan_hdr vlan; /**< VLAN header. */ - RTE_STD_C11 union { struct rte_table_action_ipv4_header ipv4; /**< IPv4 header. */ struct rte_table_action_ipv6_header ipv6; /**< IPv6 header. */ @@ -508,7 +506,6 @@ struct rte_table_action_encap_config { uint64_t encap_mask; /** Encapsulation type specific configuration. */ - RTE_STD_C11 union { struct { /** Input packet to be encapsulated: offset within the @@ -547,7 +544,6 @@ struct rte_table_action_encap_params { /** Encapsulation type. */ enum rte_table_action_encap_type type; - RTE_STD_C11 union { /** Only valid when *type* is set to Ether. */ struct rte_table_action_encap_ether_params ether; -- 1.8.3.1