Re: [PATCH bpf-next v2 03/31] selftests/bpf: Query BPF_MAX_TRAMP_LINKS using BTF

Alexei Starovoitov
2023-01-29T01:50:40Z

On Sat, Jan 28, 2023 at 12:49 PM Alexei Starovoitov
<alexei.starovoitov@gmail.com> wrote:
>
> On Sat, Jan 28, 2023 at 01:06:22AM +0100, Ilya Leoshkevich wrote:
> > diff --git a/tools/testing/selftests/bpf/prog_tests/trampoline_count.c b/tools/testing/selftests/bpf/prog_tests/trampoline_count.c
> > index 564b75bc087f..416addbb9d8e 100644
> > --- a/tools/testing/selftests/bpf/prog_tests/trampoline_count.c
> > +++ b/tools/testing/selftests/bpf/prog_tests/trampoline_count.c
> > @@ -2,7 +2,11 @@
> > #define _GNU_SOURCE
> > #include <test_progs.h>
> >
> > +#if defined(__s390x__)
> > +#define MAX_TRAMP_PROGS 27
> > +#else
> > #define MAX_TRAMP_PROGS 38
> > +#endif
>
> This was a leftover from v1. I've removed it while applying.
>
> Also dropped sk_assign fix patch 18, since it requires 'tc'
> to be built with libbpf which might not be the case.
> Pls figure out a different fix.
>
> Pushed the first 26-1 patches. The last few need a respin to fix a build warn.
> Thanks! Great stuff.

One more thing.
When you respin please update DENYLIST.s390x,
so that BPF CI can confirm that a bunch of tests are now passing.
Most of the denylist can be removed, right?