[PATCH 27/32] net/igc: remove use of RTE STD C11 macro

Tyler Retzlaff roretzla at linux.microsoft.com
Sat Aug 12 00:22:42 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>
---
 drivers/net/igc/igc_ethdev.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/net/igc/igc_ethdev.h b/drivers/net/igc/igc_ethdev.h
index 8d7eb54..d3d3ddd 100644
--- a/drivers/net/igc/igc_ethdev.h
+++ b/drivers/net/igc/igc_ethdev.h
@@ -177,7 +177,6 @@ struct igc_ntuple_info {
 
 /* Structure of n-tuple filter */
 struct igc_ntuple_filter {
-	RTE_STD_C11
 	union {
 		uint64_t hash_val;
 		struct igc_ntuple_info tuple_info;
@@ -215,7 +214,6 @@ enum igc_filter_type {
 struct rte_flow {
 	TAILQ_ENTRY(rte_flow) node;
 	enum igc_filter_type filter_type;
-	RTE_STD_C11
 	char filter[0];		/* filter data */
 };
 
-- 
1.8.3.1



More information about the dev mailing list