[PATCH v5 7/8] net/tap: use libbpf to load new BPF program
Stephen Hemminger
stephen at networkplumber.org
Wed Apr 3 17:55:23 CEST 2024
On Wed, 03 Apr 2024 12:50:35 +0100
Luca Boccassi <bluca at debian.org> wrote:
> Using bpftool to generate the header at build time is a bit icky,
> because it will look at sysfs on the build system, which is from the
> running kernel. But a build system's kernel might be some ancient LTS,
> and even be a completely different kconfig/build/distro from the actual
> runtime one.
One other option would be to ship a pre-built skeleton file.
Which is what the method the old code did.
But that creates an implied dependency on the developers machine build environment.
More information about the dev
mailing list