bpftool: add support for BPF_MAP_TYPE_REUSEPORT_SOCKARRAY maps
Subsystems (4)
PATCH 1/1 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]>
--- tools/bpf/bpftool/map.c | 1 + 1 file changed, 1 insertion(+)
tools/bpf/bpftool/map.c +1 -0
@@ -71,6 +71,7 @@ static const char * const map_type_name[] = { [BPF_MAP_TYPE_XSKMAP] = "xskmap", [BPF_MAP_TYPE_SOCKHASH] = "sockhash", [BPF_MAP_TYPE_CGROUP_STORAGE] = "cgroup_storage", + [BPF_MAP_TYPE_REUSEPORT_SOCKARRAY] = "reuseport_sockarray", };static bool map_is_per_cpu (__u32 type)
Signature · 1 line
2.17.1
Quoted 8 lines · Roman Gushchin
Add
BPF_MAP_TYPE_REUSEPORT_SOCKARRAYmap 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]>
Song Liu
Acked-byQuoted 5 lines · Jakub Kicinski
Quoted 3 lines · Roman Gushchin
Add
BPF_MAP_TYPE_REUSEPORT_SOCKARRAYmap type to the list of maps types which bpftool recognizes.
Quoted 7 lines
Quoted 5 lines
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]>
Quoted 8 lines · Roman Gushchin
Add
BPF_MAP_TYPE_REUSEPORT_SOCKARRAYmap 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]>
Applied to bpf-next, thanks Roman!