Skip to content

Commit 7ea3c40

Browse files
rgushchinborkmann
authored andcommitted
bpftool: add support for BPF_MAP_TYPE_REUSEPORT_SOCKARRAY maps
Add BPF_MAP_TYPE_REUSEPORT_SOCKARRAY map type to the list of maps types which bpftool recognizes. Signed-off-by: Roman Gushchin <[email protected]> Cc: Alexei Starovoitov <[email protected]> Cc: Daniel Borkmann <[email protected]> Cc: Jakub Kicinski <[email protected]> Cc: Yonghong Song <[email protected]> Acked-by: Jakub Kicinski <[email protected]> Acked-by: Song Liu <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
1 parent 788758d commit 7ea3c40

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/bpf/bpftool/map.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ static const char * const map_type_name[] = {
7171
[BPF_MAP_TYPE_XSKMAP] = "xskmap",
7272
[BPF_MAP_TYPE_SOCKHASH] = "sockhash",
7373
[BPF_MAP_TYPE_CGROUP_STORAGE] = "cgroup_storage",
74+
[BPF_MAP_TYPE_REUSEPORT_SOCKARRAY] = "reuseport_sockarray",
7475
};
7576

7677
static bool map_is_per_cpu(__u32 type)

0 commit comments

Comments
 (0)