Thread (28 messages) flat view 28 messages, 7 authors, 2020-09-25

Re: [PATCH bpf-next 5/6] bpf, selftests: use bpf_tail_call_static where appropriate

From: Daniel Borkmann <daniel@iogearbox.net>
Date: 2020-09-24 22:03:45
Also in: bpf

On 9/24/20 9:25 PM, Maciej Fijalkowski wrote:
On Thu, Sep 24, 2020 at 08:21:26PM +0200, Daniel Borkmann wrote:
quoted
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@iogearbox.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?
Sure, np, will add.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help