summaryrefslogtreecommitdiff
path: root/tools/include/uapi/linux/bpf.h
diff options
context:
space:
mode:
authorJoanne Koong <joannekoong@fb.com>2021-10-30 01:49:07 +0300
committerAlexei Starovoitov <ast@kernel.org>2021-11-02 00:16:03 +0300
commit6fdc348006fe2c8f0765f6eecf2e3cbab06c60b5 (patch)
treede48219fb6645dad84835ddbe6acfdf8a7270977 /tools/include/uapi/linux/bpf.h
parentf27a6fad14e24dfc755dfcdc08d9a3f514ddb593 (diff)
downloadlinux-6fdc348006fe2c8f0765f6eecf2e3cbab06c60b5.tar.xz
bpf: Bloom filter map naming fixups
This patch has two changes in the kernel bloom filter map implementation: 1) Change the names of map-ops functions to include the "bloom_map" prefix. As Martin pointed out on a previous patchset, having generic map-ops names may be confusing in tracing and in perf-report. 2) Drop the "& 0xF" when getting nr_hash_funcs, since we already ascertain that no other bits in map_extra beyond the first 4 bits can be set. Signed-off-by: Joanne Koong <joannekoong@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Yonghong Song <yhs@fb.com> Link: https://lore.kernel.org/bpf/20211029224909.1721024-2-joannekoong@fb.com
Diffstat (limited to 'tools/include/uapi/linux/bpf.h')
0 files changed, 0 insertions, 0 deletions