* pull-request: bpf-next 2022-11-11
@ 2022-11-11 23:37 Andrii Nakryiko
2022-11-12 4:50 ` patchwork-bot+netdevbpf
0 siblings, 1 reply; 2+ messages in thread
From: Andrii Nakryiko @ 2022-11-11 23:37 UTC (permalink / raw)
To: davem; +Cc: kuba, pabeni, edumazet, daniel, ast, netdev, bpf, andrii
Hi David, hi Jakub, hi Paolo, hi Eric,
The following pull-request contains BPF updates for your *net-next* tree.
We've added 49 non-merge commits during the last 9 day(s) which contain
a total of 68 files changed, 3592 insertions(+), 1371 deletions(-).
The main changes are:
1) Veristat tool improvements to support custom filtering, sorting, and replay
of results, from Andrii Nakryiko.
2) BPF verifier precision tracking fixes and improvements, from Andrii Nakryiko.
3) Lots of new BPF documentation for various BPF maps, from Dave Tucker,
Donald Hunter, Maryam Tahhan, Bagas Sanjaya.
4) BTF dedup improvements and libbpf's hashmap interface clean ups, from
Eduard Zingerman.
5) Fix veth driver panic if XDP program is attached before veth_open, from
John Fastabend.
6) BPF verifier clean ups and fixes in preparation for follow up features,
from Kumar Kartikeya Dwivedi.
7) Add access to hwtstamp field from BPF sockops programs, from Martin KaFai Lau.
8) Various fixes for BPF selftests and samples, from Artem Savkov,
Domenico Cerasuolo, Kang Minchul, Rong Tao, Yang Jihong.
9) Fix redirection to tunneling device logic, preventing skb->len == 0, from
Stanislav Fomichev.
Please consider pulling these changes from:
git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git tags/for-netdev
Thanks a lot!
Also thanks to reporters, reviewers and testers of commits in this pull-request:
Alan Maguire, Andrii Nakryiko, Bagas Sanjaya, Björn Töpel, Dave
Marchevsky, David Vernet, Jakub Kicinski, kernel test robot, KP Singh,
Maryam Tahhan, Randy Dunlap, Stanislav Fomichev, Wang Yufen, Yonghong
Song
----------------------------------------------------------------
The following changes since commit fbeb229a6622523c092a13c02bd0e15f69240dde:
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net (2022-11-03 13:21:54 -0700)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git tags/for-netdev
for you to fetch changes up to eb6af4ceda2d885416d8382f096030d39896aafc:
selftests/bpf: fix veristat's singular file-or-prog filter (2022-11-11 14:06:20 -0800)
----------------------------------------------------------------
bpf-next-for-netdev
----------------------------------------------------------------
Alexei Starovoitov (2):
Merge branch 'veristat: replay, filtering, sorting'
Merge branch 'BPF verifier precision tracking improvements'
Andrii Nakryiko (19):
selftests/bpf: add veristat replay mode
selftests/bpf: shorten "Total insns/states" column names in veristat
selftests/bpf: consolidate and improve file/prog filtering in veristat
selftests/bpf: ensure we always have non-ambiguous sorting in veristat
selftests/bpf: allow to define asc/desc ordering for sort specs in veristat
selftests/bpf: support simple filtering of stats in veristat
selftests/bpf: make veristat emit all stats in CSV mode by default
selftests/bpf: handle missing records in comparison mode better in veristat
selftests/bpf: support stats ordering in comparison mode in veristat
selftests/bpf: support stat filtering in comparison mode in veristat
bpf: propagate precision in ALU/ALU64 operations
bpf: propagate precision across all frames, not just the last one
bpf: allow precision tracking for programs with subprogs
bpf: stop setting precise in current state
bpf: aggressively forget precise markings during state checkpointing
selftests/bpf: make test_align selftest more robust
Merge branch 'libbpf: Resolve unambigous forward declarations'
Merge branch 'bpf: Add hwtstamp field for the sockops prog'
selftests/bpf: fix veristat's singular file-or-prog filter
Artem Savkov (1):
selftests/bpf: Use consistent build-id type for liburandom_read.so
Bagas Sanjaya (1):
Documentation: bpf: Escape underscore in BPF type name prefix
Dave Tucker (1):
bpf, docs: Document BPF_MAP_TYPE_ARRAY
Domenico Cerasuolo (1):
selftests: Fix test group SKIPPED result
Donald Hunter (3):
docs/bpf: Document BPF_MAP_TYPE_LPM_TRIE map
docs/bpf: Document BPF ARRAY_OF_MAPS and HASH_OF_MAPS
docs/bpf: Document BPF map types QUEUE and STACK
Eduard Zingerman (6):
libbpf: Resolve enum fwd as full enum64 and vice versa
selftests/bpf: Tests for enum fwd resolved as full enum64
libbpf: Hashmap interface update to allow both long and void* keys/values
libbpf: Resolve unambigous forward declarations
selftests/bpf: Tests for btf_dedup_resolve_fwds
libbpf: Hashmap.h update to fix build issues using LLVM14
John Fastabend (1):
bpf: veth driver panics when xdp prog attached before veth_open
Kang Minchul (1):
selftests/bpf: Fix u32 variable compared with less than zero
Kumar Kartikeya Dwivedi (8):
bpf: Document UAPI details for special BPF types
bpf: Allow specifying volatile type modifier for kptrs
bpf: Clobber stack slot when writing over spilled PTR_TO_BTF_ID
bpf: Fix slot type check in check_stack_write_var_off
bpf: Drop reg_type_may_be_refcounted_or_null
bpf: Refactor kptr_off_tab into btf_record
bpf: Consolidate spin_lock, timer management into btf_record
bpf: Refactor map->off_arr handling
Martin KaFai Lau (4):
Merge branch 'fix panic bringing up veth with xdp progs'
bpf: Add hwtstamp field for the sockops prog
selftests/bpf: Fix incorrect ASSERT in the tcp_hdr_options test
selftests/bpf: Test skops->skb_hwtstamp
Maryam Tahhan (1):
docs/bpf: Document BPF_MAP_TYPE_CPUMAP map
Rong Tao (3):
samples/bpf: Fix tracex2 error: No such file or directory
selftests/bpf: cgroup_helpers.c: Fix strncpy() fortify warning
samples/bpf: Fix sockex3 error: Missing BPF prog type
Stanislav Fomichev (1):
bpf: make sure skb->len != 0 when redirecting to a tunneling device
Yang Jihong (1):
selftests/bpf: Fix xdp_synproxy compilation failure in 32-bit arch
Documentation/bpf/bpf_design_QA.rst | 44 +
Documentation/bpf/map_array.rst | 250 ++++++
Documentation/bpf/map_cpumap.rst | 166 ++++
Documentation/bpf/map_lpm_trie.rst | 181 +++++
Documentation/bpf/map_of_maps.rst | 126 +++
Documentation/bpf/map_queue_stack.rst | 122 +++
drivers/net/veth.c | 2 +-
include/linux/bpf.h | 179 +++--
include/linux/btf.h | 10 +-
include/uapi/linux/bpf.h | 1 +
kernel/bpf/arraymap.c | 30 +-
kernel/bpf/bpf_local_storage.c | 2 +-
kernel/bpf/btf.c | 420 ++++++----
kernel/bpf/cpumap.c | 9 +-
kernel/bpf/hashtab.c | 38 +-
kernel/bpf/helpers.c | 6 +-
kernel/bpf/local_storage.c | 2 +-
kernel/bpf/map_in_map.c | 19 +-
kernel/bpf/syscall.c | 373 ++++-----
kernel/bpf/verifier.c | 485 +++++++----
net/core/bpf_sk_storage.c | 4 +-
net/core/filter.c | 43 +-
samples/bpf/sockex3_kern.c | 95 ++-
samples/bpf/sockex3_user.c | 23 +-
samples/bpf/tracex2_kern.c | 4 +-
samples/bpf/tracex2_user.c | 3 +-
tools/bpf/bpftool/btf.c | 25 +-
tools/bpf/bpftool/common.c | 10 +-
tools/bpf/bpftool/gen.c | 19 +-
tools/bpf/bpftool/link.c | 10 +-
tools/bpf/bpftool/main.h | 14 +-
tools/bpf/bpftool/map.c | 10 +-
tools/bpf/bpftool/pids.c | 16 +-
tools/bpf/bpftool/prog.c | 10 +-
tools/include/uapi/linux/bpf.h | 1 +
tools/lib/bpf/btf.c | 259 ++++--
tools/lib/bpf/btf_dump.c | 15 +-
tools/lib/bpf/hashmap.c | 18 +-
tools/lib/bpf/hashmap.h | 91 ++-
tools/lib/bpf/libbpf.c | 18 +-
tools/lib/bpf/strset.c | 18 +-
tools/lib/bpf/usdt.c | 28 +-
tools/perf/tests/expr.c | 28 +-
tools/perf/tests/pmu-events.c | 6 +-
tools/perf/util/bpf-loader.c | 11 +-
tools/perf/util/evsel.c | 2 +-
tools/perf/util/expr.c | 36 +-
tools/perf/util/hashmap.c | 18 +-
tools/perf/util/hashmap.h | 91 ++-
tools/perf/util/metricgroup.c | 10 +-
tools/perf/util/stat-shadow.c | 2 +-
tools/perf/util/stat.c | 9 +-
tools/testing/selftests/bpf/Makefile | 7 +-
tools/testing/selftests/bpf/bpf_util.h | 19 +
tools/testing/selftests/bpf/cgroup_helpers.c | 3 +-
tools/testing/selftests/bpf/prog_tests/align.c | 38 +-
tools/testing/selftests/bpf/prog_tests/btf.c | 264 +++++-
.../selftests/bpf/prog_tests/btf_dedup_split.c | 45 +-
tools/testing/selftests/bpf/prog_tests/btf_dump.c | 4 +-
tools/testing/selftests/bpf/prog_tests/hashmap.c | 190 +++--
.../selftests/bpf/prog_tests/kprobe_multi_test.c | 6 +-
.../selftests/bpf/prog_tests/tcp_hdr_options.c | 6 +-
.../bpf/progs/test_misc_tcp_hdr_options.c | 4 +
tools/testing/selftests/bpf/test_progs.c | 38 +-
tools/testing/selftests/bpf/veristat.c | 893 +++++++++++++++++----
tools/testing/selftests/bpf/xdp_synproxy.c | 5 +-
tools/testing/selftests/bpf/xsk.c | 26 +-
tools/testing/selftests/bpf/xskxceiver.c | 3 +-
68 files changed, 3592 insertions(+), 1371 deletions(-)
create mode 100644 Documentation/bpf/map_array.rst
create mode 100644 Documentation/bpf/map_cpumap.rst
create mode 100644 Documentation/bpf/map_lpm_trie.rst
create mode 100644 Documentation/bpf/map_of_maps.rst
create mode 100644 Documentation/bpf/map_queue_stack.rst
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: pull-request: bpf-next 2022-11-11
2022-11-11 23:37 pull-request: bpf-next 2022-11-11 Andrii Nakryiko
@ 2022-11-12 4:50 ` patchwork-bot+netdevbpf
0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2022-11-12 4:50 UTC (permalink / raw)
To: Andrii Nakryiko; +Cc: davem, kuba, pabeni, edumazet, daniel, ast, netdev, bpf
Hello:
This pull request was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@kernel.org>:
On Fri, 11 Nov 2022 15:37:33 -0800 you wrote:
> Hi David, hi Jakub, hi Paolo, hi Eric,
>
> The following pull-request contains BPF updates for your *net-next* tree.
>
> We've added 49 non-merge commits during the last 9 day(s) which contain
> a total of 68 files changed, 3592 insertions(+), 1371 deletions(-).
>
> [...]
Here is the summary with links:
- pull-request: bpf-next 2022-11-11
https://git.kernel.org/netdev/net-next/c/f4c4ca70dedc
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-11-12 4:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-11 23:37 pull-request: bpf-next 2022-11-11 Andrii Nakryiko
2022-11-12 4:50 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox