[PATCH v2 1/7] eal: add queue macro extensions from FreeBSD

Stephen Hemminger stephen at networkplumber.org
Sat Feb 22 00:05:45 CET 2025


On Wed, 19 Feb 2025 15:55:17 +0100
Thomas Monjalon <thomas at monjalon.net> wrote:

> 14/02/2025 18:20, Stephen Hemminger:
> > The Linux version of sys/queue.h is frozen at an older version
> > and is missing the _SAFE macro variants. Several drivers started
> > introducing the own workarounds for this. Should be handled in EAL.
> > 
> > Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>  
> 
> We may want to unify with lib/eal/windows/include/sys/queue.h

Do we want to just not use the local Linux version of queue.h entirely?
Maybe just put in current FreeBSD one? It has lots more useful variations.

The point is to avoid broken versions (like one Intel driver) or
having same macro in multiple places.


More information about the dev mailing list