[External] : Re: [PATCH] net/tap: Modified TAP BPF program as per the new Kernel-version upgrade requirements.
Stephen Hemminger
stephen at networkplumber.org
Sat Jan 6 17:54:33 CET 2024
On Sat, 6 Jan 2024 10:23:57 +0000
Madhuker Mythri <madhuker.mythri at oracle.com> wrote:
> Hi Stephen,
>
> The new Kernel expects the BPF maps in BTF format: https://www.kernel.org/doc/html/v5.4/bpf/btf.html.
> So, we need to compile with "-g" option as follows:
> ==============================
> clang -O2 -target bpf -c tap_bpf_program.c -g -o tap_bpf_program.o
That makes sense, but using that command line won't work because it
causes Debian to not find asm/types.h
More information about the dev
mailing list