libbpf: use map_flags when creating maps
authorCraig Gallek <kraig@google.com>
Thu, 5 Oct 2017 14:41:58 +0000 (10:41 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 Oct 2017 04:42:28 +0000 (21:42 -0700)
commitfe9b5f774b28143dcc2957eadffefdca6171a26a
treedb13337e93443d1dca5cb7cd0d7480aa6862f5d6
parentb13c5c14dbfd5923d773de9661404ed9600c53ef
libbpf: use map_flags when creating maps

This is required to use BPF_MAP_TYPE_LPM_TRIE or any other map type
which requires flags.

Signed-off-by: Craig Gallek <kraig@google.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/lib/bpf/libbpf.c
tools/lib/bpf/libbpf.h