summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/bpf_experimental.h
diff options
context:
space:
mode:
authorAnton Protopopov <aspsk@isovalent.com>2024-04-02 10:33:47 +0300
committerDaniel Borkmann <daniel@iogearbox.net>2024-04-02 17:12:00 +0300
commit9dc182c58b5f5d4ac125ac85ad553f7142aa08d4 (patch)
tree71232931a9632e6e627d99f63d2b54e19fcabc69 /tools/testing/selftests/bpf/bpf_experimental.h
parentca4ddc26f8acaa9cb451fcb20f7ab0f02e4970cb (diff)
downloadlinux-9dc182c58b5f5d4ac125ac85ad553f7142aa08d4.tar.xz
bpf: Add a verbose message if map limit is reached
When more than 64 maps are used by a program and its subprograms the verifier returns -E2BIG. Add a verbose message which highlights the source of the error and also print the actual limit. Signed-off-by: Anton Protopopov <aspsk@isovalent.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Yonghong Song <yonghong.song@linux.dev> Acked-by: John Fastabend <john.fastabend@gmail.com> Link: https://lore.kernel.org/bpf/20240402073347.195920-1-aspsk@isovalent.com
Diffstat (limited to 'tools/testing/selftests/bpf/bpf_experimental.h')
0 files changed, 0 insertions, 0 deletions