tools/bpf: bpftool, add xskmap in map types
authorPrashant Bhole <bhole_prashant_q7@lab.ntt.co.jp>
Fri, 31 Aug 2018 06:32:42 +0000 (15:32 +0900)
committerDaniel Borkmann <daniel@iogearbox.net>
Sun, 2 Sep 2018 20:30:39 +0000 (22:30 +0200)
commit97911e0ccb54c7478b9dac77e6c54c01b449e3a7
treea4797fb9130b1b62f04015f8cbb1bf1ef6d1783e
parent9db39f4d4f94b61e4b64b077f6ddb2bdfb533a88
tools/bpf: bpftool, add xskmap in map types

When listed all maps, bpftool currently shows (null) for xskmap.
Added xskmap type in map_type_name[] to show correct type.

Signed-off-by: Prashant Bhole <bhole_prashant_q7@lab.ntt.co.jp>
Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/bpf/bpftool/map.c