> From: Stephen Hemminger [mailto:step...@networkplumber.org]
> Sent: Friday, 14 February 2025 18.20
> 
> This series adds common macros for safe iteration over lists.
> It is a subset copy of the macros from FreeBSD that are
> missing from the Linux header sys/queue.h
> 
> Chose this over several other options:
>   - let each driver define their own as needed.
>     One Intel driver got it wrong, others will as well.
>   - rename all the queue macros to RTE_XXX variants.
>     Seems like useless renaming and confusion.
>   - Several distros have libbsd package with the correct macros.
>     But adding yet another dependency to DPDK would be annoying
>     for something this basic.
> 
> There are more macros in FreeBSD header that could be useful,
> but we can add those later as needed here.

100 % agree with all of the above.
Especially that adding RTE_ prefix to "industry standard" macros would be silly.

And all patches in this series LGTM.

Series-acked-by: Morten Brørup <m...@smartsharesystems.com>

Reply via email to