[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200924192508.GA34764@ranger.igk.intel.com>
Date: Thu, 24 Sep 2020 21:25:08 +0200
From: Maciej Fijalkowski <maciej.fijalkowski@...el.com>
To: Daniel Borkmann <daniel@...earbox.net>
Cc: ast@...nel.org, john.fastabend@...il.com, netdev@...r.kernel.org,
bpf@...r.kernel.org
Subject: Re: [PATCH bpf-next 5/6] bpf, selftests: use bpf_tail_call_static
where appropriate
On Thu, Sep 24, 2020 at 08:21:26PM +0200, Daniel Borkmann wrote:
> For those locations where we use an immediate tail call map index use the
> newly added bpf_tail_call_static() helper.
>
> Signed-off-by: Daniel Borkmann <daniel@...earbox.net>
> ---
> tools/testing/selftests/bpf/progs/bpf_flow.c | 12 ++++----
> tools/testing/selftests/bpf/progs/tailcall1.c | 28 +++++++++----------
> tools/testing/selftests/bpf/progs/tailcall2.c | 14 +++++-----
> tools/testing/selftests/bpf/progs/tailcall3.c | 4 +--
> .../selftests/bpf/progs/tailcall_bpf2bpf1.c | 4 +--
> .../selftests/bpf/progs/tailcall_bpf2bpf2.c | 6 ++--
> .../selftests/bpf/progs/tailcall_bpf2bpf3.c | 6 ++--
> .../selftests/bpf/progs/tailcall_bpf2bpf4.c | 6 ++--
> 8 files changed, 40 insertions(+), 40 deletions(-)
One nit, while you're at it, maybe it would be good to also address the
samples/bpf/sockex3_kern.c that is also using the immediate map index?
[...]
Powered by blists - more mailing lists