commit | 96b3b6c9091d23289721350e32c63cc8749686be | [log] [tgz] |
---|---|---|
author | Lorenz Bauer <lmb@cloudflare.com> | Fri Nov 16 11:41:08 2018 +0000 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Tue Nov 20 00:53:39 2018 +0100 |
tree | 94552c4164204873c93534fb2383044e122d0488 | |
parent | 23499442c319412aa8e54e7a939e2eb531bdd77d [diff] |
bpf: allow zero-initializing hash map seed Add a new flag BPF_F_ZERO_SEED, which forces a hash map to initialize the seed to zero. This is useful when doing performance analysis both on individual BPF programs, as well as the kernel's hash table implementation. Signed-off-by: Lorenz Bauer <lmb@cloudflare.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>