[PATCH v3 23/44] net/cxgbe: replace use of sys/queue.h

Stephen Hemminger
2025-11-03T16:51:57Z

Replace use of system sys/queue.h with DPDK rte_bsd_queue.h

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
drivers/net/cxgbe/cxgbe_ethdev.c | 2 +-
drivers/net/cxgbe/cxgbe_main.c | 1 -
drivers/net/cxgbe/sge.c | 1 -
3 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/net/cxgbe/cxgbe_ethdev.c b/drivers/net/cxgbe/cxgbe_ethdev.c
index 0c337a6cc8..f354e2638f 100644
--- a/drivers/net/cxgbe/cxgbe_ethdev.c
+++ b/drivers/net/cxgbe/cxgbe_ethdev.c
@@ -3,7 +3,7 @@
* All rights reserved.
*/

-#include <sys/queue.h>
+#include <rte_bsd_queue.h>
#include <stdio.h>
#include <errno.h>
#include <stdint.h>
diff --git a/drivers/net/cxgbe/cxgbe_main.c b/drivers/net/cxgbe/cxgbe_main.c
index 2ed21f2d66..b3d7e1c012 100644
--- a/drivers/net/cxgbe/cxgbe_main.c
+++ b/drivers/net/cxgbe/cxgbe_main.c
@@ -3,7 +3,6 @@
* All rights reserved.
*/

-#include <sys/queue.h>
#include <sys/stat.h>
#include <stdio.h>
#include <errno.h>
diff --git a/drivers/net/cxgbe/sge.c b/drivers/net/cxgbe/sge.c
index e9d45f24c4..3fa296b1bd 100644
--- a/drivers/net/cxgbe/sge.c
+++ b/drivers/net/cxgbe/sge.c
@@ -3,7 +3,6 @@
* All rights reserved.
*/

-#include <sys/queue.h>
#include <stdio.h>
#include <errno.h>
#include <stdint.h>
--
2.51.0