[PATCH 30/32] common/mlx5: remove use of RTE STD C11 macro

Tyler Retzlaff roretzla at linux.microsoft.com
Sat Aug 12 00:22:45 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/common/mlx5/mlx5_common_mp.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/common/mlx5/mlx5_common_mp.h b/drivers/common/mlx5/mlx5_common_mp.h
index 34e4fae..ab8bccc 100644
--- a/drivers/common/mlx5/mlx5_common_mp.h
+++ b/drivers/common/mlx5/mlx5_common_mp.h
@@ -38,7 +38,6 @@ struct mlx5_mp_arg_queue_id {
 
 struct mlx5_mp_arg_mr_manage {
 	struct mlx5_common_device *cdev;
-	RTE_STD_C11
 	union {
 		struct {
 			struct rte_mempool *mempool;
@@ -53,7 +52,6 @@ struct mlx5_mp_param {
 	enum mlx5_mp_req_type type;
 	int port_id;
 	int result;
-	RTE_STD_C11
 	union {
 		struct mlx5_mp_arg_mr_manage mr_manage;
 		/* MLX5_MP_REQ_MEMPOOL_(UN)REGISTER, MLX5_MP_REQ_CREATE_MR */
-- 
1.8.3.1



More information about the dev mailing list