[RFC 34/47] net/mlx4: replace use of sys/queue.h
Stephen Hemminger
stephen at networkplumber.org
Tue Aug 19 01:27:45 CEST 2025
Replace use of system sys/queue.h with DPDK bsd_queue.h
Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
---
drivers/net/mlx4/mlx4.h | 1 -
drivers/net/mlx4/mlx4_flow.c | 2 +-
drivers/net/mlx4/mlx4_flow.h | 1 -
drivers/net/mlx4/mlx4_mr.h | 1 -
drivers/net/mlx4/mlx4_rxtx.h | 1 -
5 files changed, 1 insertion(+), 5 deletions(-)
diff --git a/drivers/net/mlx4/mlx4.h b/drivers/net/mlx4/mlx4.h
index c992a1c5ea..67768f3e56 100644
--- a/drivers/net/mlx4/mlx4.h
+++ b/drivers/net/mlx4/mlx4.h
@@ -8,7 +8,6 @@
#include <net/if.h>
#include <stdint.h>
-#include <sys/queue.h>
/* Verbs headers do not support -pedantic. */
#ifdef PEDANTIC
diff --git a/drivers/net/mlx4/mlx4_flow.c b/drivers/net/mlx4/mlx4_flow.c
index b520664d95..8a696e9fff 100644
--- a/drivers/net/mlx4/mlx4_flow.c
+++ b/drivers/net/mlx4/mlx4_flow.c
@@ -14,7 +14,7 @@
#include <stddef.h>
#include <stdint.h>
#include <string.h>
-#include <sys/queue.h>
+#include <bsd_queue.h>
/* Verbs headers do not support -pedantic. */
#ifdef PEDANTIC
diff --git a/drivers/net/mlx4/mlx4_flow.h b/drivers/net/mlx4/mlx4_flow.h
index 5e82df6bd6..a27317432d 100644
--- a/drivers/net/mlx4/mlx4_flow.h
+++ b/drivers/net/mlx4/mlx4_flow.h
@@ -7,7 +7,6 @@
#define RTE_PMD_MLX4_FLOW_H_
#include <stdint.h>
-#include <sys/queue.h>
/* Verbs headers do not support -pedantic. */
#ifdef PEDANTIC
diff --git a/drivers/net/mlx4/mlx4_mr.h b/drivers/net/mlx4/mlx4_mr.h
index 56dd73ff19..7fef07d6f9 100644
--- a/drivers/net/mlx4/mlx4_mr.h
+++ b/drivers/net/mlx4/mlx4_mr.h
@@ -8,7 +8,6 @@
#include <stddef.h>
#include <stdint.h>
-#include <sys/queue.h>
/* Verbs headers do not support -pedantic. */
#ifdef PEDANTIC
diff --git a/drivers/net/mlx4/mlx4_rxtx.h b/drivers/net/mlx4/mlx4_rxtx.h
index 70f3cd8680..c68375b088 100644
--- a/drivers/net/mlx4/mlx4_rxtx.h
+++ b/drivers/net/mlx4/mlx4_rxtx.h
@@ -7,7 +7,6 @@
#define MLX4_RXTX_H_
#include <stdint.h>
-#include <sys/queue.h>
/* Verbs headers do not support -pedantic. */
#ifdef PEDANTIC
--
2.47.2
More information about the dev
mailing list