On 06.02.23 23:58, Andrii Nakryiko wrote: > On Mon, Feb 6, 2023 at 8:07 AM Felix Maurer <fmaurer@xxxxxxxxxx> wrote: >> >> The sk_assign selftest uses tc to load the BPF object file for the test. If >> tc is linked against libbpf 1.0+, this test failed, because the BPF file >> used the legacy maps section. This approach is considered legacy by libbpf >> and tc (see examples/bpf/README in the iproute2 repo). >> >> Therefore, switch to the approach recommended by iproute2 and use a BTF >> defined map. This is also well supported by libbpf. >> >> Signed-off-by: Felix Maurer <fmaurer@xxxxxxxxxx> >> --- > > This test was updated (see [0]) to support iproute2 version with and > without libbpf support. Please check the latest bpf-next/master. > > [0] 7ce878ca81bc ("selftests/bpf: Fix sk_assign on s390x") Sorry for the noise, I missed that commit. Forget about my patch then. Felix