Re: [PATCH net-next v3 2/2] libbpf: use map_flags when creating maps

2017-10-05 Thread Daniel Borkmann
On 10/05/2017 04:41 PM, Craig Gallek wrote: From: Craig Gallek This is required to use BPF_MAP_TYPE_LPM_TRIE or any other map type which requires flags. Signed-off-by: Craig Gallek Acked-by: Daniel Borkmann

[PATCH net-next v3 2/2] libbpf: use map_flags when creating maps

2017-10-05 Thread Craig Gallek
From: Craig Gallek This is required to use BPF_MAP_TYPE_LPM_TRIE or any other map type which requires flags. Signed-off-by: Craig Gallek --- tools/lib/bpf/libbpf.c | 2 +- tools/lib/bpf/libbpf.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/lib/bpf/libbpf.c b/tools