pull-request: bpf-next 2023-03-08
Subsystems (3)
Andrii Nakryiko
maintainerHi David, hi Jakub, hi Paolo, hi Eric,
The following pull-request contains BPF updates for your *net-next* tree.
We've added 23 non-merge commits during the last 2 day(s) which contain a total of 28 files changed, 414 insertions(+), 104 deletions(-).
The main changes are:
1) Add more precise memory usage reporting for all BPF map types, from Yafang Shao.
2) Add ARM32 USDT support to libbpf, from Puranjay Mohan.
3) Fix BTF_ID_LIST size causing problems in !CONFIG_DEBUG_INFO_BTF, from Nathan Chancellor.
4) IMA selftests fix, from Roberto Sassu.
5) libbpf fix in APK support code, from Daniel Müller.
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:
Andrii Nakryiko, David Vernet, Hou Tao, Matt Bobrowski, Tom Rix
----------------------------------------------------------------
The following changes since commit 36e5e391a25af28dc1f4586f95d577b38ff4ed72:
Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next (2023-03-06 20:36:39 -0800)
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 12fabae03ca6474fd571bf6ddb37d009533305d6:
selftests/bpf: Fix IMA test (2023-03-08 11:15:39 -0800)
----------------------------------------------------------------
Alexei Starovoitov (1):
Merge branch 'bpf: bpf memory usage'
Andrii Nakryiko (1):
Merge branch 'libbpf: usdt arm arg parsing support'
Daniel Müller (1):
libbpf: Fix theoretical u32 underflow in find_cd() function
Nathan Chancellor (1):
bpf: Increase size of BTF_ID_LIST without CONFIG_DEBUG_INFO_BTF again
Puranjay Mohan (2):
libbpf: Refactor parse_usdt_arg() to re-use code
libbpf: USDT arm arg parsing support
Roberto Sassu (1):
selftests/bpf: Fix IMA test
Yafang Shao (18):
bpf: add new map ops ->map_mem_usage
bpf: lpm_trie memory usage
bpf: hashtab memory usage
bpf: arraymap memory usage
bpf: stackmap memory usage
bpf: reuseport_array memory usage
bpf: ringbuf memory usage
bpf: bloom_filter memory usage
bpf: cpumap memory usage
bpf: devmap memory usage
bpf: queue_stack_maps memory usage
bpf: bpf_struct_ops memory usage
bpf: local_storage memory usage
bpf, net: bpf_local_storage memory usage bpf, net: sock_map memory usage
bpf, net: xskmap memory usage
bpf: offload map memory usage
bpf: enforce all maps having memory usage callback
include/linux/bpf.h | 8 + include/linux/bpf_local_storage.h | 1 + include/linux/btf_ids.h | 2 +- include/net/xdp_sock.h | 1 + kernel/bpf/arraymap.c | 28 ++++ kernel/bpf/bloom_filter.c | 12 ++ kernel/bpf/bpf_cgrp_storage.c | 1 + kernel/bpf/bpf_inode_storage.c | 1 + kernel/bpf/bpf_local_storage.c | 10 ++ kernel/bpf/bpf_struct_ops.c | 16 ++ kernel/bpf/bpf_task_storage.c | 1 + kernel/bpf/cpumap.c | 10 ++ kernel/bpf/devmap.c | 26 ++- kernel/bpf/hashtab.c | 43 +++++ kernel/bpf/local_storage.c | 7 + kernel/bpf/lpm_trie.c | 11 ++ kernel/bpf/offload.c | 6 + kernel/bpf/queue_stack_maps.c | 10 ++ kernel/bpf/reuseport_array.c | 8 + kernel/bpf/ringbuf.c | 20 ++- kernel/bpf/stackmap.c | 14 ++ kernel/bpf/syscall.c | 20 +-- net/core/bpf_sk_storage.c | 1 + net/core/sock_map.c | 20 +++ net/xdp/xskmap.c | 13 ++ tools/lib/bpf/usdt.c | 196 +++++++++++++--------- tools/lib/bpf/zip.c | 3 +- tools/testing/selftests/bpf/prog_tests/test_ima.c | 29 +++- 28 files changed, 414 insertions(+), 104 deletions(-)
This pull request was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This pull request was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Quoted 8 lines · On Wed, 8 Mar 2023 11:35: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 23 non-merge commits during the last 2 day(s) which contain a total of 28 files changed, 414 insertions(+), 104 deletions(-).
[...]
Here is the summary with links:
- pull-request: bpf-next 2023-03-08
https://git.kernel.org/netdev/net-next/c/ed69e0667db5
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html