[RFC 39/47] net/thunderx: replace use of sys/queue.h
Stephen Hemminger
stephen at networkplumber.org
Tue Aug 19 01:27:50 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/thunderx/base/nicvf_bsvf.h | 2 +-
drivers/net/thunderx/base/nicvf_plat.h | 1 +
drivers/net/thunderx/nicvf_ethdev.c | 1 -
3 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/thunderx/base/nicvf_bsvf.h b/drivers/net/thunderx/base/nicvf_bsvf.h
index 4c7615ca99..b93201f265 100644
--- a/drivers/net/thunderx/base/nicvf_bsvf.h
+++ b/drivers/net/thunderx/base/nicvf_bsvf.h
@@ -5,7 +5,7 @@
#ifndef __THUNDERX_NICVF_BSVF_H__
#define __THUNDERX_NICVF_BSVF_H__
-#include <sys/queue.h>
+#include <bsd_queue.h>
struct nicvf;
diff --git a/drivers/net/thunderx/base/nicvf_plat.h b/drivers/net/thunderx/base/nicvf_plat.h
index 8421f57040..34761000b4 100644
--- a/drivers/net/thunderx/base/nicvf_plat.h
+++ b/drivers/net/thunderx/base/nicvf_plat.h
@@ -6,6 +6,7 @@
#define _THUNDERX_NICVF_H
/* Platform/OS/arch specific abstractions */
+#include <bsd_queue.h>
/* log */
#include <rte_log.h>
diff --git a/drivers/net/thunderx/nicvf_ethdev.c b/drivers/net/thunderx/nicvf_ethdev.c
index 4441a90bdf..c7b6252cd6 100644
--- a/drivers/net/thunderx/nicvf_ethdev.c
+++ b/drivers/net/thunderx/nicvf_ethdev.c
@@ -12,7 +12,6 @@
#include <stdarg.h>
#include <inttypes.h>
#include <netinet/in.h>
-#include <sys/queue.h>
#include <rte_alarm.h>
#include <rte_branch_prediction.h>
--
2.47.2
More information about the dev
mailing list