[PATCH v3 32/44] net/txgbe: replace use of sys/queue.h

Stephen Hemminger
2025-11-03T16:52:47Z

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

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
drivers/net/txgbe/txgbe_ethdev_vf.c | 1 -
drivers/net/txgbe/txgbe_fdir.c | 2 +-
drivers/net/txgbe/txgbe_flow.c | 2 +-
drivers/net/txgbe/txgbe_rxtx.c | 1 -
4 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/drivers/net/txgbe/txgbe_ethdev_vf.c b/drivers/net/txgbe/txgbe_ethdev_vf.c
index 4be7c5d659..b7d0bf81f7 100644
--- a/drivers/net/txgbe/txgbe_ethdev_vf.c
+++ b/drivers/net/txgbe/txgbe_ethdev_vf.c
@@ -3,7 +3,6 @@
* Copyright(c) 2010-2017 Intel Corporation
*/

-#include <sys/queue.h>
#include <stdio.h>
#include <errno.h>
#include <stdint.h>
diff --git a/drivers/net/txgbe/txgbe_fdir.c b/drivers/net/txgbe/txgbe_fdir.c
index 0efd43b59a..c1c6e3625f 100644
--- a/drivers/net/txgbe/txgbe_fdir.c
+++ b/drivers/net/txgbe/txgbe_fdir.c
@@ -7,7 +7,7 @@
#include <stdint.h>
#include <stdarg.h>
#include <errno.h>
-#include <sys/queue.h>
+#include <rte_bsd_queue.h>
#include <rte_malloc.h>

#include "txgbe_logs.h"
diff --git a/drivers/net/txgbe/txgbe_flow.c b/drivers/net/txgbe/txgbe_flow.c
index 31af3593ed..660f479adf 100644
--- a/drivers/net/txgbe/txgbe_flow.c
+++ b/drivers/net/txgbe/txgbe_flow.c
@@ -3,7 +3,7 @@
* Copyright(c) 2010-2017 Intel Corporation
*/

-#include <sys/queue.h>
+#include <rte_bsd_queue.h>
#include <bus_pci_driver.h>
#include <rte_malloc.h>
#include <rte_flow.h>
diff --git a/drivers/net/txgbe/txgbe_rxtx.c b/drivers/net/txgbe/txgbe_rxtx.c
index 167bda8019..0bbbf19791 100644
--- a/drivers/net/txgbe/txgbe_rxtx.c
+++ b/drivers/net/txgbe/txgbe_rxtx.c
@@ -3,7 +3,6 @@
* Copyright(c) 2010-2017 Intel Corporation
*/

-#include <sys/queue.h>

#include <stdio.h>
#include <stdlib.h>
--
2.51.0