mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
c6fdcd6e0c
commit
25025e0aab
|
@ -127,6 +127,7 @@ enum bpf_map_type {
|
||||||
BPF_MAP_TYPE_SOCKHASH,
|
BPF_MAP_TYPE_SOCKHASH,
|
||||||
BPF_MAP_TYPE_CGROUP_STORAGE,
|
BPF_MAP_TYPE_CGROUP_STORAGE,
|
||||||
BPF_MAP_TYPE_REUSEPORT_SOCKARRAY,
|
BPF_MAP_TYPE_REUSEPORT_SOCKARRAY,
|
||||||
|
BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE,
|
||||||
};
|
};
|
||||||
|
|
||||||
enum bpf_prog_type {
|
enum bpf_prog_type {
|
||||||
|
|
Loading…
Reference in New Issue