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 A2CA543038; Sat, 12 Aug 2023 00:24:55 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DCB9D43280; Sat, 12 Aug 2023 00:23:26 +0200 (CEST) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id 408164325D for ; Sat, 12 Aug 2023 00:23:04 +0200 (CEST) Received: by linux.microsoft.com (Postfix, from userid 1086) id 6F87F20FD416; Fri, 11 Aug 2023 15:23:02 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 6F87F20FD416 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1691792583; bh=rE+Yz/qHLJLV4g0DuUU5P9kbRs2G+AD1aKpPsOeda/8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=shJgVmZs4uUkPFCGE0jhYGdXr2pTPvipezjwrrGDDPrdOm7X6vrs5Z0kK8fU6zgoL ZGAu2j0gnGpFOD7oPEb+4s4cdwI+815APy2BalhhT3nPYpj87i2FBEQ70JCJeE9JNR wstFhpKGuLXGKKTpDHV3ZQdwohy3HR8uDDcRA4SA= 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 21/32] examples/ipsec-secgw: remove use of RTE STD C11 macro Date: Fri, 11 Aug 2023 15:22:36 -0700 Message-Id: <1691792567-10805-22-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 --- examples/ipsec-secgw/event_helper.h | 2 -- examples/ipsec-secgw/flow.c | 1 - 2 files changed, 3 deletions(-) diff --git a/examples/ipsec-secgw/event_helper.h b/examples/ipsec-secgw/event_helper.h index af5cfcf..dfb81bf 100644 --- a/examples/ipsec-secgw/event_helper.h +++ b/examples/ipsec-secgw/event_helper.h @@ -164,7 +164,6 @@ struct eventmode_conf { uint32_t eth_portmask; /**< Mask of the eth ports to be used */ union { - RTE_STD_C11 struct { uint64_t sched_type : 2; /**< Schedule type */ @@ -213,7 +212,6 @@ struct eh_conf { /* Workers registered by the application */ struct eh_app_worker_params { union { - RTE_STD_C11 struct { uint64_t burst : 1; /**< Specify status of rx type burst */ diff --git a/examples/ipsec-secgw/flow.c b/examples/ipsec-secgw/flow.c index 1bcf86c..05a62c3 100644 --- a/examples/ipsec-secgw/flow.c +++ b/examples/ipsec-secgw/flow.c @@ -19,7 +19,6 @@ struct flow_rule_entry { uint8_t is_eth; uint8_t is_ipv4; uint8_t is_ipv6; - RTE_STD_C11 union { struct { struct rte_flow_item_ipv4 spec; -- 1.8.3.1