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 A2DDD43038; Sat, 12 Aug 2023 00:25:17 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 74555432BF; Sat, 12 Aug 2023 00:23:31 +0200 (CEST) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id 617B5410FA for ; Sat, 12 Aug 2023 00:23:04 +0200 (CEST) Received: by linux.microsoft.com (Postfix, from userid 1086) id 8DE3B20FD41B; Fri, 11 Aug 2023 15:23:02 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 8DE3B20FD41B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1691792583; bh=gVwiS2J/VLrobJ1pfpQEaQGCtUnALZQy0sQiDiW0JNI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GqY9kp3MiyUCvdzjK7LRT3Iz60qEV/HP+xEougYybuJhyc1UPf3DIxWuA4VocRAuh Zkn+lwwXcau8fUN+Bo/LJ3o6lUG/sCKrEWivZpGSZbloE2EJY9kuhtqYAwq0epUSgM Z/7++el1XaMKp1Epo3IN/VOn4uFQJuqLVHTRmj4w= 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 23/32] net/sfc: remove use of RTE STD C11 macro Date: Fri, 11 Aug 2023 15:22:38 -0700 Message-Id: <1691792567-10805-24-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/net/sfc/sfc_flow.h | 2 -- drivers/net/sfc/sfc_mae.h | 1 - drivers/net/sfc/sfc_stats.h | 1 - 3 files changed, 4 deletions(-) diff --git a/drivers/net/sfc/sfc_flow.h b/drivers/net/sfc/sfc_flow.h index 601f93e..06738fe 100644 --- a/drivers/net/sfc/sfc_flow.h +++ b/drivers/net/sfc/sfc_flow.h @@ -109,7 +109,6 @@ struct sfc_flow_spec { /* Flow specification type (engine-based) */ enum sfc_flow_spec_type type; - RTE_STD_C11 union { /* Filter-based (VNIC level flows) specification */ struct sfc_flow_spec_filter filter; @@ -149,7 +148,6 @@ enum sfc_flow_parse_ctx_type { struct sfc_flow_parse_ctx { enum sfc_flow_parse_ctx_type type; - RTE_STD_C11 union { /* Context pointer valid for filter-based (VNIC) flows */ efx_filter_spec_t *filter; diff --git a/drivers/net/sfc/sfc_mae.h b/drivers/net/sfc/sfc_mae.h index 059718e..646d055 100644 --- a/drivers/net/sfc/sfc_mae.h +++ b/drivers/net/sfc/sfc_mae.h @@ -25,7 +25,6 @@ /** FW-allocatable resource context */ struct sfc_mae_fw_rsrc { unsigned int refcnt; - RTE_STD_C11 union { efx_counter_t counter_id; efx_mae_aset_id_t aset_id; diff --git a/drivers/net/sfc/sfc_stats.h b/drivers/net/sfc/sfc_stats.h index aae8243..597e14d 100644 --- a/drivers/net/sfc/sfc_stats.h +++ b/drivers/net/sfc/sfc_stats.h @@ -26,7 +26,6 @@ * required. */ union sfc_pkts_bytes { - RTE_STD_C11 struct { uint64_t pkts; uint64_t bytes; -- 1.8.3.1