diff options
| author | Joe Stringer <[email protected]> | 2016-12-09 02:46:16 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-12-15 19:25:47 +0000 |
| commit | a5580c7f7a6d078696458d283df5d6547ad1c740 (patch) | |
| tree | 68c3e9b629a16ef97af98fd6eadb4bead6eafaa0 /net/lapb/lapb_timer.c | |
| parent | tools lib bpf: use __u32 from linux/types.h (diff) | |
| download | kernel-a5580c7f7a6d078696458d283df5d6547ad1c740.tar.gz kernel-a5580c7f7a6d078696458d283df5d6547ad1c740.zip | |
tools lib bpf: Add flags to bpf_create_map()
Commit 6c905981743 ("bpf: pre-allocate hash map elements") introduces
map_flags to bpf_attr for BPF_MAP_CREATE command. Expose this new
parameter in libbpf.
By exposing it, users can access flags such as whether or not to
preallocate the map.
Signed-off-by: Joe Stringer <[email protected]>
Acked-by: Wang Nan <[email protected]>
Cc: Alexei Starovoitov <[email protected]>
Cc: Daniel Borkmann <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
[ Added clarifying comment made by Wang Nan ]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions
