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 F34E843038; Sat, 12 Aug 2023 00:23:21 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5B79F43260; Sat, 12 Aug 2023 00:23:08 +0200 (CEST) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id 0029640F17 for ; Sat, 12 Aug 2023 00:23:02 +0200 (CEST) Received: by linux.microsoft.com (Postfix, from userid 1086) id 2D44220FD0E0; Fri, 11 Aug 2023 15:23:02 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 2D44220FD0E0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1691792582; bh=XilVMcLekdqQw0on/0zbmkpqdlo27ZA/mxi3V0SGoMk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MNQeCzgNJUeACPJPTgK2TCZmQhpLp+gUPl5hi3QTy1YSXCK6w2pYMz26ax7DzyIMd q807thNeHlwDBwUJAGBCsPOGSrxI1CIQDI1Q+Yl9KDWzHpbzMJu3LSrsNZQ9wwBYtv 9yX3tKVoUPzjfFspnPWgRs5rGAtl9dlNx2N47+qg= 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 03/32] security: remove use of RTE STD C11 macro Date: Fri, 11 Aug 2023 15:22:18 -0700 Message-Id: <1691792567-10805-4-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/security/rte_security.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/security/rte_security.h b/lib/security/rte_security.h index 3b2df52..3f8abfe 100644 --- a/lib/security/rte_security.h +++ b/lib/security/rte_security.h @@ -94,7 +94,6 @@ struct rte_security_ctx { struct rte_security_ipsec_tunnel_param { enum rte_security_ipsec_tunnel_type type; /**< Tunnel type: IPv4 or IPv6 */ - RTE_STD_C11 union { struct { struct in_addr src_ip; @@ -664,7 +663,6 @@ struct rte_security_session_conf { /**< Type of action to be performed on the session */ enum rte_security_session_protocol protocol; /**< Security protocol to be configured */ - RTE_STD_C11 union { struct rte_security_ipsec_xform ipsec; struct rte_security_macsec_xform macsec; @@ -1050,7 +1048,6 @@ struct rte_security_stats { enum rte_security_session_protocol protocol; /**< Security protocol to be configured */ - RTE_STD_C11 union { struct rte_security_macsec_secy_stats macsec; struct rte_security_ipsec_stats ipsec; @@ -1126,7 +1123,6 @@ struct rte_security_capability { /**< Security action type*/ enum rte_security_session_protocol protocol; /**< Security protocol */ - RTE_STD_C11 union { struct { enum rte_security_ipsec_sa_protocol proto; @@ -1237,7 +1233,6 @@ struct rte_security_capability_idx { enum rte_security_session_action_type action; enum rte_security_session_protocol protocol; - RTE_STD_C11 union { struct { enum rte_security_ipsec_sa_protocol proto; -- 1.8.3.1