bpf: bpftool, support for sockhash
This adds the SOCKHASH map type to bpftools so that we get correct pretty printing. Signed-off-by: John Fastabend <john.fastabend@gmail.com> Acked-by: David S. Miller <davem@davemloft.net> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
This commit is contained in:
parent
b8b394faa9
commit
62c52d1fdd
|
@ -66,6 +66,7 @@ static const char * const map_type_name[] = {
|
|||
[BPF_MAP_TYPE_DEVMAP] = "devmap",
|
||||
[BPF_MAP_TYPE_SOCKMAP] = "sockmap",
|
||||
[BPF_MAP_TYPE_CPUMAP] = "cpumap",
|
||||
[BPF_MAP_TYPE_SOCKHASH] = "sockhash",
|
||||
};
|
||||
|
||||
static bool map_is_per_cpu(__u32 type)
|
||||
|
|
Loading…
Reference in New Issue