bpftool: recognize BPF_MAP_TYPE_CPUMAP maps
authorRoman Gushchin <guro@fb.com>
Fri, 19 Jan 2018 14:17:45 +0000 (14:17 +0000)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 19 Jan 2018 22:16:52 +0000 (23:16 +0100)
commita55aaf6db0587e1a6e79dce8ada0e237d6068afb
treed10e192091ea186e805f0e0bcf03c34619dad5f6
parent15e541edd47a71585ad37f781b91d65362877ebb
bpftool: recognize BPF_MAP_TYPE_CPUMAP maps

Add BPF_MAP_TYPE_CPUMAP map type to the list
of map type recognized by bpftool and define
corresponding text representation.

Signed-off-by: Roman Gushchin <guro@fb.com>
Cc: Quentin Monnet <quentin.monnet@netronome.com>
Cc: Jakub Kicinski <jakub.kicinski@netronome.com>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Cc: Alexei Starovoitov <ast@kernel.org>
Acked-by: Quentin Monnet <quentin.monnet@netronome.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/bpf/bpftool/map.c