[PATCH v3 29/44] net/sfc: replace use of sys/queue.h

Andrew Rybchenko andrew.rybchenko at oktetlabs.ru
Sun Nov 9 15:50:41 CET 2025


On 11/3/25 19:47, Stephen Hemminger wrote:
> Replace use of system sys/queue.h with DPDK rte_bsd_queue.h
> 
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>

[...]

> diff --git a/drivers/net/sfc/sfc_dp.h b/drivers/net/sfc/sfc_dp.h
> index 545f0f32bf..6f61b20a0f 100644
> --- a/drivers/net/sfc/sfc_dp.h
> +++ b/drivers/net/sfc/sfc_dp.h
> @@ -11,7 +11,6 @@
>   #define _SFC_DP_H
>   
>   #include <stdbool.h>
> -#include <sys/queue.h>

rte_bsd_queue.h should be added instead, since the header uses
TAILQ_ENTRY/HEAD macros.

>   
>   #include <rte_pci.h>
>   



More information about the dev mailing list