Re: [PATCH v2 1/7] eal: add queue macro extensions from FreeBSD
From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2025-02-21 23:05:52
From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2025-02-21 23:05:52
On Wed, 19 Feb 2025 15:55:17 +0100 Thomas Monjalon [off-list ref] wrote:
14/02/2025 18:20, Stephen Hemminger:quoted
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@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.