All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Borkmann <daniel@iogearbox.net>
To: davem@davemloft.net
Cc: kuba@kernel.org, daniel@iogearbox.net, ast@kernel.org,
	andrii.nakryiko@gmail.com, netdev@vger.kernel.org,
	bpf@vger.kernel.org
Subject: pull-request: bpf-next 2021-04-28
Date: Wed, 28 Apr 2021 01:37:40 +0200	[thread overview]
Message-ID: <20210427233740.22238-1-daniel@iogearbox.net> (raw)

Hi David, hi Jakub,

The following pull-request contains BPF updates for your *net-next* tree.

We've added 19 non-merge commits during the last 2 day(s) which contain
a total of 36 files changed, 494 insertions(+), 313 deletions(-).

The main changes are:

1) Add link detach and following re-attach for trampolines, from Jiri Olsa.

2) Use kernel's "binary printf" lib for formatted output BPF helpers (which
   avoids the needs for variadic argument handling), from Florent Revest.

3) Fix verifier 64 to 32 bit min/max bound propagation, from Daniel Borkmann.

4) Convert cpumap to use netif_receive_skb_list(), from Lorenzo Bianconi.

5) Add generic batched-ops support to percpu array map, from Pedro Tammela.

6) Various CO-RE relocation BPF selftests fixes, from Andrii Nakryiko.

7) Misc doc rst fixes, from Hengqi Chen.

Please consider pulling these changes from:

  git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git

Thanks a lot!

Also thanks to reporters, reviewers and testers of commits in this pull-request:

Alexei Starovoitov, Andrii Nakryiko, Jesper Dangaard Brouer, John 
Fastabend, Julia Lawall, kernel test robot, KP Singh, Lorenz Bauer, 
Rasmus Villemoes, Toke Høiland-Jørgensen

----------------------------------------------------------------

The following changes since commit 0ea1041bfa3aa2971f858edd9e05477c2d3d54a0:

  Merge branch 'bnxt_en-next' (2021-04-25 18:37:39 -0700)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git 

for you to fetch changes up to 3733bfbbdd28f7a65340d0058d15d15190a4944a:

  bpf, selftests: Update array map tests for per-cpu batched ops (2021-04-28 01:18:12 +0200)

----------------------------------------------------------------
Alexei Starovoitov (3):
      Merge branch 'bpf: Tracing and lsm programs re-attach'
      Merge branch 'CO-RE relocation selftests fixes'
      Merge branch 'Implement formatted output helpers with bstr_printf'

Andrii Nakryiko (5):
      selftests/bpf: Add remaining ASSERT_xxx() variants
      libbpf: Support BTF_KIND_FLOAT during type compatibility checks in CO-RE
      selftests/bpf: Fix BPF_CORE_READ_BITFIELD() macro
      selftests/bpf: Fix field existence CO-RE reloc tests
      selftests/bpf: Fix core_reloc test runner

Daniel Borkmann (1):
      bpf: Fix propagation of 32 bit unsigned bounds from 64 bit bounds

Florent Revest (3):
      bpf: Lock bpf_trace_printk's tmp buf before it is written to
      seq_file: Add a seq_bprintf function
      bpf: Implement formatted output helpers with bstr_printf

Hengqi Chen (1):
      bpf, docs: Fix literal block for example code

Jiri Olsa (6):
      bpf: Allow trampoline re-attach for tracing and lsm programs
      selftests/bpf: Add re-attach test to fentry_test
      selftests/bpf: Add re-attach test to fexit_test
      selftests/bpf: Add re-attach test to lsm test
      selftests/bpf: Test that module can't be unloaded with attached trampoline
      selftests/bpf: Use ASSERT macros in lsm test

Lorenzo Bianconi (1):
      bpf, cpumap: Bulk skb using netif_receive_skb_list

Pedro Tammela (2):
      bpf: Add batched ops support for percpu array
      bpf, selftests: Update array map tests for per-cpu batched ops

 Documentation/networking/filter.rst                |   2 +-
 fs/seq_file.c                                      |  18 ++
 include/linux/bpf.h                                |  22 +--
 include/linux/seq_file.h                           |   4 +
 init/Kconfig                                       |   1 +
 kernel/bpf/arraymap.c                              |   2 +
 kernel/bpf/cpumap.c                                |  18 +-
 kernel/bpf/helpers.c                               | 188 +++++++++++----------
 kernel/bpf/syscall.c                               |  23 ++-
 kernel/bpf/trampoline.c                            |   4 +-
 kernel/bpf/verifier.c                              |  10 +-
 kernel/trace/bpf_trace.c                           |  36 ++--
 tools/lib/bpf/bpf_core_read.h                      |  16 +-
 tools/lib/bpf/libbpf.c                             |   6 +-
 .../selftests/bpf/map_tests/array_map_batch_ops.c  | 104 ++++++++----
 tools/testing/selftests/bpf/prog_tests/btf_dump.c  |   2 +-
 .../testing/selftests/bpf/prog_tests/btf_endian.c  |   4 +-
 .../testing/selftests/bpf/prog_tests/cgroup_link.c |   2 +-
 .../testing/selftests/bpf/prog_tests/core_reloc.c  |  51 +++---
 .../testing/selftests/bpf/prog_tests/fentry_test.c |  52 ++++--
 .../testing/selftests/bpf/prog_tests/fexit_test.c  |  52 ++++--
 tools/testing/selftests/bpf/prog_tests/kfree_skb.c |   2 +-
 .../selftests/bpf/prog_tests/module_attach.c       |  23 +++
 .../selftests/bpf/prog_tests/resolve_btfids.c      |   7 +-
 .../selftests/bpf/prog_tests/snprintf_btf.c        |   4 +-
 tools/testing/selftests/bpf/prog_tests/test_lsm.c  |  61 ++++---
 ...tf__core_reloc_existence___err_wrong_arr_kind.c |   3 -
 ...re_reloc_existence___err_wrong_arr_value_type.c |   3 -
 ...tf__core_reloc_existence___err_wrong_int_kind.c |   3 -
 .../btf__core_reloc_existence___err_wrong_int_sz.c |   3 -
 ...tf__core_reloc_existence___err_wrong_int_type.c |   3 -
 ..._core_reloc_existence___err_wrong_struct_type.c |   3 -
 .../btf__core_reloc_existence___wrong_field_defs.c |   3 +
 .../testing/selftests/bpf/progs/core_reloc_types.h |  20 +--
 tools/testing/selftests/bpf/test_progs.h           |  50 +++++-
 .../testing/selftests/bpf/verifier/array_access.c  |   2 +-
 36 files changed, 494 insertions(+), 313 deletions(-)
 delete mode 100644 tools/testing/selftests/bpf/progs/btf__core_reloc_existence___err_wrong_arr_kind.c
 delete mode 100644 tools/testing/selftests/bpf/progs/btf__core_reloc_existence___err_wrong_arr_value_type.c
 delete mode 100644 tools/testing/selftests/bpf/progs/btf__core_reloc_existence___err_wrong_int_kind.c
 delete mode 100644 tools/testing/selftests/bpf/progs/btf__core_reloc_existence___err_wrong_int_sz.c
 delete mode 100644 tools/testing/selftests/bpf/progs/btf__core_reloc_existence___err_wrong_int_type.c
 delete mode 100644 tools/testing/selftests/bpf/progs/btf__core_reloc_existence___err_wrong_struct_type.c
 create mode 100644 tools/testing/selftests/bpf/progs/btf__core_reloc_existence___wrong_field_defs.c

             reply	other threads:[~2021-04-27 23:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-27 23:37 Daniel Borkmann [this message]
2021-04-28 20:47 ` pull-request: bpf-next 2021-04-28 Jakub Kicinski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210427233740.22238-1-daniel@iogearbox.net \
    --to=daniel@iogearbox.net \
    --cc=andrii.nakryiko@gmail.com \
    --cc=ast@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=davem@davemloft.net \
    --cc=kuba@kernel.org \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.