diff options
author | 2020-09-25 18:13:52 -0700 | |
---|---|---|
committer | 2020-09-28 17:27:31 -0700 | |
commit | 7d9c71e10baa3496d95226aa3bba668f7533ec70 (patch) | |
tree | ec6765ac143da67147fabf28281deee6d8a9050d /scripts/bpf_helpers_doc.py | |
parent | libbpf: Generalize common logic for managing dynamically-sized arrays (diff) | |
download | linux-dev-7d9c71e10baa3496d95226aa3bba668f7533ec70.tar.xz linux-dev-7d9c71e10baa3496d95226aa3bba668f7533ec70.zip |
libbpf: Extract generic string hashing function for reuse
Calculating a hash of zero-terminated string is a common need when using
hashmap, so extract it for reuse.
Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Link: https://lore.kernel.org/bpf/20200926011357.2366158-5-andriin@fb.com
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions