diff options
author | 2018-09-28 14:45:48 +0000 | |
---|---|---|
committer | 2018-10-01 16:18:33 +0200 | |
commit | 25025e0aab2f91a93a1557b299a79814559b4dc2 (patch) | |
tree | 42db3da23a030bde3fc823653df00779f95cbb92 /tools/include | |
parent | bpf: don't allow create maps of per-cpu cgroup local storages (diff) | |
download | linux-25025e0aab2f91a93a1557b299a79814559b4dc2.tar.gz linux-25025e0aab2f91a93a1557b299a79814559b4dc2.tar.bz2 linux-25025e0aab2f91a93a1557b299a79814559b4dc2.zip |
bpf: sync include/uapi/linux/bpf.h to tools/include/uapi/linux/bpf.h
The sync is required due to the appearance of a new map type:
BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE, which implements per-cpu
cgroup local storage.
Signed-off-by: Roman Gushchin <guro@fb.com>
Acked-by: Song Liu <songliubraving@fb.com>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Cc: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/include')
-rw-r--r-- | tools/include/uapi/linux/bpf.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/include/uapi/linux/bpf.h b/tools/include/uapi/linux/bpf.h index aa5ccd2385ed..e2070d819e04 100644 --- a/tools/include/uapi/linux/bpf.h +++ b/tools/include/uapi/linux/bpf.h @@ -127,6 +127,7 @@ enum bpf_map_type { BPF_MAP_TYPE_SOCKHASH, BPF_MAP_TYPE_CGROUP_STORAGE, BPF_MAP_TYPE_REUSEPORT_SOCKARRAY, + BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE, }; enum bpf_prog_type { |