diff options
author | Martin KaFai Lau <[email protected]> | 2020-01-15 15:00:37 -0800 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2020-01-15 15:23:27 -0800 |
commit | 84c72ceee91c166e19b506d618dbe9df6eacce97 (patch) | |
tree | 97fa58b29b323a1e179a48d44bd7580d8cb0a9fb /drivers/usb/cdns3/cdns3-debug.h | |
parent | fb2426ad00b136c88d57457504d1e843159a367a (diff) |
bpftool: Add struct_ops map name
This patch adds BPF_MAP_TYPE_STRUCT_OPS to "struct_ops" name mapping
so that "bpftool map show" can print the "struct_ops" map type
properly.
[root@arch-fb-vm1 bpf]# ~/devshare/fb-kernel/linux/tools/bpf/bpftool/bpftool map show id 8
8: struct_ops name dctcp flags 0x0
key 4B value 256B max_entries 1 memlock 4096B
btf_id 7
Signed-off-by: Martin KaFai Lau <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions