[PATCH 08/32] power: remove use of RTE STD C11 macro

Tyler Retzlaff roretzla at linux.microsoft.com
Sat Aug 12 00:22:23 CEST 2023


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 <roretzla at linux.microsoft.com>
---
 lib/power/rte_power.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/lib/power/rte_power.h b/lib/power/rte_power.h
index 5e2b87c..4d70d9a 100644
--- a/lib/power/rte_power.h
+++ b/lib/power/rte_power.h
@@ -216,10 +216,8 @@ typedef uint32_t (*rte_power_freqs_t)(unsigned int lcore_id, uint32_t *freqs,
  * Power capabilities summary.
  */
 struct rte_power_core_capabilities {
-	RTE_STD_C11
 	union {
 		uint64_t capabilities;
-		RTE_STD_C11
 		struct {
 			uint64_t turbo:1;	/**< Turbo can be enabled. */
 			uint64_t priority:1;	/**< SST-BF high freq core */
-- 
1.8.3.1



More information about the dev mailing list