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

Andrew Rybchenko
2025-11-09T14:50:47Z

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@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>
>