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 4F2D643038; Sat, 12 Aug 2023 00:26:00 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 269FD432E5; Sat, 12 Aug 2023 00:23:40 +0200 (CEST) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id 4211D43254 for ; Sat, 12 Aug 2023 00:23:05 +0200 (CEST) Received: by linux.microsoft.com (Postfix, from userid 1086) id 19CD820FD42E; Fri, 11 Aug 2023 15:23:03 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 19CD820FD42E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1691792584; bh=L3Z1+oveHbFlqZ4ggudmXoYeDqVC2xPMfpRtGvI/Qmc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=U7tf0vrSLJy5zlu5ZQ6ZQ7GFLt+4GJbiK72BxDuDsRRDc78Jfold8QnClZtIHXNtN Ft9vKZQaKvJPKEXRxf8Dqr2jEfYJltI2nBOHjw44VLawreN3eWTnpjOCnpViSZ6pqG a4zApdFyc6VSm19lFA6PTaRTbE1HgAON6IZocx2U= 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 31/32] common/cnxk: remove use of RTE STD C11 macro Date: Fri, 11 Aug 2023 15:22:46 -0700 Message-Id: <1691792567-10805-32-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 --- drivers/common/cnxk/hw/nix.h | 7 ------- drivers/common/cnxk/roc_nix.h | 1 - drivers/common/cnxk/roc_npc.h | 3 --- drivers/common/cnxk/roc_platform.h | 1 - 4 files changed, 12 deletions(-) diff --git a/drivers/common/cnxk/hw/nix.h b/drivers/common/cnxk/hw/nix.h index 26dcda6..319fe36 100644 --- a/drivers/common/cnxk/hw/nix.h +++ b/drivers/common/cnxk/hw/nix.h @@ -1622,7 +1622,6 @@ struct nix_send_crc_s { }; /* NIX send extended header sub descriptor structure */ -PLT_STD_C11 union nix_send_ext_w0_u { uint64_t u; struct { @@ -1642,7 +1641,6 @@ struct nix_send_crc_s { }; }; -PLT_STD_C11 union nix_send_ext_w1_u { uint64_t u; struct { @@ -1672,7 +1670,6 @@ struct nix_send_ext_s { }; /* NIX send header sub descriptor structure */ -PLT_STD_C11 union nix_send_hdr_w0_u { uint64_t u; struct { @@ -1686,7 +1683,6 @@ struct nix_send_ext_s { }; }; -PLT_STD_C11 union nix_send_hdr_w1_u { uint64_t u; struct { @@ -1728,7 +1724,6 @@ struct nix_send_jump_s { }; /* NIX send memory sub descriptor structure */ -PLT_STD_C11 union nix_send_mem_w0_u { uint64_t u; struct { @@ -1756,7 +1751,6 @@ struct nix_send_mem_s { }; /* NIX send scatter/gather sub descriptor structure */ -PLT_STD_C11 union nix_send_sg2_s { uint64_t u; struct { @@ -1771,7 +1765,6 @@ struct nix_send_mem_s { }; }; -PLT_STD_C11 union nix_send_sg_s { uint64_t u; struct { diff --git a/drivers/common/cnxk/roc_nix.h b/drivers/common/cnxk/roc_nix.h index 9c2ba9a..66f0597 100644 --- a/drivers/common/cnxk/roc_nix.h +++ b/drivers/common/cnxk/roc_nix.h @@ -294,7 +294,6 @@ struct roc_nix_stats { }; struct roc_nix_stats_queue { - PLT_STD_C11 union { struct { /* Rx */ diff --git a/drivers/common/cnxk/roc_npc.h b/drivers/common/cnxk/roc_npc.h index 07e6634..48e550a 100644 --- a/drivers/common/cnxk/roc_npc.h +++ b/drivers/common/cnxk/roc_npc.h @@ -67,7 +67,6 @@ struct roc_ether_addr { struct roc_ether_hdr { struct roc_ether_addr d_addr; /**< Destination address. */ - PLT_STD_C11 union { struct roc_ether_addr s_addr; /**< Source address. */ struct { @@ -77,7 +76,6 @@ struct roc_ether_hdr { uint16_t ether_type; /**< Frame type. */ } __plt_aligned(2); -PLT_STD_C11 struct roc_npc_flow_item_eth { union { struct { @@ -101,7 +99,6 @@ struct roc_vlan_hdr { uint16_t eth_proto; /**< Ethernet type of encapsulated frame. */ } __plt_packed; -PLT_STD_C11 struct roc_npc_flow_item_vlan { union { struct { diff --git a/drivers/common/cnxk/roc_platform.h b/drivers/common/cnxk/roc_platform.h index 9884398..08f83ab 100644 --- a/drivers/common/cnxk/roc_platform.h +++ b/drivers/common/cnxk/roc_platform.h @@ -43,7 +43,6 @@ #define PLT_ASSERT RTE_ASSERT #define PLT_VERIFY RTE_VERIFY #define PLT_MEMZONE_NAMESIZE RTE_MEMZONE_NAMESIZE -#define PLT_STD_C11 RTE_STD_C11 #define PLT_PTR_ADD RTE_PTR_ADD #define PLT_PTR_SUB RTE_PTR_SUB #define PLT_PTR_DIFF RTE_PTR_DIFF -- 1.8.3.1