[PATCH v2] net/tap: fix BPF build failure in cross-compilation environment

Stephen Hemminger stephen at networkplumber.org
Wed Jul 30 00:12:50 CEST 2025


On Fri, 25 Jul 2025 00:42:58 -0500
Ashok Kaladi <ashok.k.kaladi at intel.com> wrote:

> During cross-compilation, BPF build incorrectly includes header files
> from the host system instead of the target sysroot. This leads to
> build failures due to incompatible headers or unavailability of header
> files in the host.
> 
> Fix by using the Meson sysroot property to correctly locate and include
> BPF-related headers from the cross-compilation environment.
> 
> Fixes: d8d065045c4a ("net/tap: rewrite RSS BPF program")
> 
> Signed-off-by: Ashok Kaladi <ashok.k.kaladi at intel.com>
> ---

Queued to next-net


More information about the dev mailing list