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 0E72743038; Sat, 12 Aug 2023 00:24:46 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B3B0E432A9; Sat, 12 Aug 2023 00:23:24 +0200 (CEST) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id 2E7F94325A for ; Sat, 12 Aug 2023 00:23:04 +0200 (CEST) Received: by linux.microsoft.com (Postfix, from userid 1086) id 3268820FD40A; Fri, 11 Aug 2023 15:23:02 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 3268820FD40A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1691792583; bh=8qJXlUD/AEfQ1mVV6E0dUBLTFN2wbz6nne2qFayjIGU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kDilqjJuHRWPlVd4dK/6HXf4JaZz3LC8q/ryIIRnO2MDh0+MgZb6pbrWjsySMAv6l 9lBLRD7tWNgUmrdZDtEJ/16tWWCauQIe2VWTatBRBR85XQxgm2kDWKOFDIf9WNTLDV fw7xZr9T7fY1KVvF5Uip8GZhw3NzpeJ7jab6ErKo= 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 17/32] eventdev: remove use of RTE STD C11 macro Date: Fri, 11 Aug 2023 15:22:32 -0700 Message-Id: <1691792567-10805-18-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/eventdev/event_timer_adapter_pmd.h | 1 - lib/eventdev/eventdev_pmd.h | 2 -- lib/eventdev/rte_event_eth_rx_adapter.c | 1 - lib/eventdev/rte_event_timer_adapter.h | 2 -- lib/eventdev/rte_eventdev.h | 1 - 5 files changed, 7 deletions(-) diff --git a/lib/eventdev/event_timer_adapter_pmd.h b/lib/eventdev/event_timer_adapter_pmd.h index 8f3e6c4..65b421b 100644 --- a/lib/eventdev/event_timer_adapter_pmd.h +++ b/lib/eventdev/event_timer_adapter_pmd.h @@ -108,7 +108,6 @@ struct rte_event_timer_adapter_data { uint32_t service_id; /**< Service ID*/ - RTE_STD_C11 uint8_t started : 1; /**< Flag to indicate adapter started. */ } __rte_cache_aligned; diff --git a/lib/eventdev/eventdev_pmd.h b/lib/eventdev/eventdev_pmd.h index c68c3a2..f62f42e 100644 --- a/lib/eventdev/eventdev_pmd.h +++ b/lib/eventdev/eventdev_pmd.h @@ -135,7 +135,6 @@ struct rte_eventdev_data { void *dev_stop_flush_arg; /**< User-provided argument for event flush function */ - RTE_STD_C11 uint8_t dev_started : 1; /**< Device state: STARTED(1)/STOPPED(0) */ @@ -155,7 +154,6 @@ struct rte_eventdev { struct rte_device *dev; /**< Device info. supplied by probing */ - RTE_STD_C11 uint8_t attached : 1; /**< Flag indicating the device is attached */ diff --git a/lib/eventdev/rte_event_eth_rx_adapter.c b/lib/eventdev/rte_event_eth_rx_adapter.c index f7f93cc..5c93967 100644 --- a/lib/eventdev/rte_event_eth_rx_adapter.c +++ b/lib/eventdev/rte_event_eth_rx_adapter.c @@ -52,7 +52,6 @@ * Used to store port and queue ID of interrupting Rx queue */ union queue_data { - RTE_STD_C11 void *ptr; struct { uint16_t port; diff --git a/lib/eventdev/rte_event_timer_adapter.h b/lib/eventdev/rte_event_timer_adapter.h index 9ac35b7..fbdddf8 100644 --- a/lib/eventdev/rte_event_timer_adapter.h +++ b/lib/eventdev/rte_event_timer_adapter.h @@ -473,7 +473,6 @@ enum rte_event_timer_state { * The generic *rte_event_timer* structure to hold the event timer attributes * for arm and cancel operations. */ -RTE_STD_C11 struct rte_event_timer { struct rte_event ev; /**< @@ -539,7 +538,6 @@ struct rte_event_timer_adapter { const struct event_timer_adapter_ops *ops; /**< Functions exported by adapter driver */ - RTE_STD_C11 uint8_t allocated : 1; /**< Flag to indicate that this adapter has been allocated */ } __rte_cache_aligned; diff --git a/lib/eventdev/rte_eventdev.h b/lib/eventdev/rte_eventdev.h index b6a4fa1..2ba8a7b 100644 --- a/lib/eventdev/rte_eventdev.h +++ b/lib/eventdev/rte_eventdev.h @@ -1273,7 +1273,6 @@ struct rte_event_vector { * The generic *rte_event* structure to hold the event attributes * for dequeue and enqueue operation */ -RTE_STD_C11 struct rte_event { /** WORD0 */ union { -- 1.8.3.1