[RFC 00/47] resolve issues with sys/queue.h

Bruce Richardson bruce.richardson at intel.com
Tue Aug 19 10:01:49 CEST 2025


On Mon, Aug 18, 2025 at 04:27:11PM -0700, Stephen Hemminger wrote:
> This patchset cleans up the queue.h macro problems in DPDK.
> The root cause is that sys/queue.h in Linux is an old version
> from early BSD; my best guess is that it is a BSD GPL license
> issue that it never got updated. The Linux version is missing
> several useful macros which leads to redefiniton, bugs, etc.
> 
> The patch starts out by introducing a version of the current
> FreeBSD queue.h named as bsd_queue.h, then uses it across all
> of DPDK. The file sys/queue.h is no longer used.
> Ends up doing one line change on lots of files.
> 
With one small comment on naming in patch 1, this set looks a good cleanup
to me.

Series-acked-by: Bruce Richardson <bruce.richardson at intel.com>


More information about the dev mailing list