OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f9d451
)
tools/include/uapi: Add devmap_hash BPF map type
author
Toke Høiland-Jørgensen
<toke@redhat.com>
Fri, 26 Jul 2019 16:06:56 +0000
(18:06 +0200)
committer
Alexei Starovoitov
<ast@kernel.org>
Mon, 29 Jul 2019 20:50:48 +0000
(13:50 -0700)
This adds the devmap_hash BPF map type to the uapi headers in tools/.
Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>
Acked-by: Yonghong Song <yhs@fb.com>
Acked-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/include/uapi/linux/bpf.h
patch
|
blob
|
history
diff --git
a/tools/include/uapi/linux/bpf.h
b/tools/include/uapi/linux/bpf.h
index
3d7fc67
..
21d0f68
100644
(file)
--- a/
tools/include/uapi/linux/bpf.h
+++ b/
tools/include/uapi/linux/bpf.h
@@
-134,6
+134,7
@@
enum bpf_map_type {
BPF_MAP_TYPE_QUEUE,
BPF_MAP_TYPE_STACK,
BPF_MAP_TYPE_SK_STORAGE,
+ BPF_MAP_TYPE_DEVMAP_HASH,
};
/* Note that tracing related programs such as