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(+)
diff --git a/tools/bpf/bpftool/map.c b/tools/bpf/bpftool/map.c
index af8ad32fa6e9..e22fbe8b975f 100644
--- a/tools/bpf/bpftool/map.c
+++ b/tools/bpf/bpftool/map.c
@@ -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)
--
2.17.1
On Fri, 21 Sep 2018 22:47:20 +0000, Roman Gushchin wrote:
> 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]>
On Fri, Sep 21, 2018 at 5:10 PM Jakub Kicinski
<[email protected]> wrote:
>
> On Fri, 21 Sep 2018 22:47:20 +0000, Roman Gushchin wrote:
> > 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]>
On 09/22/2018 12:47 AM, Roman Gushchin wrote:
> 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]>
Applied to bpf-next, thanks Roman!