[PATCH 11/32] mldev: remove use of RTE STD C11 macro

Tyler Retzlaff roretzla at linux.microsoft.com
Sat Aug 12 00:22:26 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/mldev/rte_mldev.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/mldev/rte_mldev.h b/lib/mldev/rte_mldev.h
index 222ecbd..fc3525c 100644
--- a/lib/mldev/rte_mldev.h
+++ b/lib/mldev/rte_mldev.h
@@ -433,7 +433,6 @@ struct rte_ml_op {
 	/**< Input buffer to hold the inference data. */
 	struct rte_ml_buff_seg output;
 	/**< Output buffer to hold the inference output by the driver. */
-	RTE_STD_C11
 	union {
 		uint64_t user_u64;
 		/**< User data as uint64_t.*/
-- 
1.8.3.1



More information about the dev mailing list