commit | 4dd3f50af4b82a6a29ede951bde97197e88f9c5d | [log] [tgz] |
---|---|---|
author | Daniel Borkmann <daniel@iogearbox.net> | Sat Apr 09 00:32:05 2016 +0200 |
committer | Stephen Hemminger <stephen@networkplumber.org> | Mon Apr 11 21:54:47 2016 +0000 |
tree | f56c5bd250a030787d26367810f982baaadd5c74 | |
parent | afc1a2000b6f991587c815076941385c259e21ed [diff] |
tc, bpf: add support for map pre/allocation Follow-up to kernel commit 6c9059817432 ("bpf: pre-allocate hash map elements"). Add flags support, so that we can pass in BPF_F_NO_PREALLOC flag for disallowing preallocation. Update examples accordingly and also remove the BPF_* map helper macros from them as they were not very useful. Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>