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 <roret...@linux.microsoft.com> --- 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