summaryrefslogtreecommitdiff
path: root/tools/lib/bpf/bpf.h
diff options
context:
space:
mode:
authorAlexei Starovoitov <ast@kernel.org>2021-12-03 02:08:37 +0300
committerAlexei Starovoitov <ast@kernel.org>2021-12-03 02:23:41 +0300
commit080a70b21f476b39ad66524c0ce0729972c61a10 (patch)
treedad6591838a9b35d8414ed4e80d0763b02ff2287 /tools/lib/bpf/bpf.h
parent8b4ff5f8bb126fa8ee6918f4854748277609cf68 (diff)
parentc93faaaf2f67ba5396840316651cdc7640d9fa9e (diff)
downloadlinux-080a70b21f476b39ad66524c0ce0729972c61a10.tar.xz
Merge branch 'Deprecate bpf_prog_load_xattr() API'
Andrii Nakryiko says: ==================== Few lines in the last patch to mark bpf_prog_load_xattr() deprecated required a decent amount of clean ups in all the other patches. samples/bpf is big part of the clean up. This patch set also bumps libbpf version to 0.7, as libbpf v0.6 release will be cut shortly. ==================== Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/lib/bpf/bpf.h')
-rw-r--r--tools/lib/bpf/bpf.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/lib/bpf/bpf.h b/tools/lib/bpf/bpf.h
index 70b6f44fc8b0..f79e5fbcf1c1 100644
--- a/tools/lib/bpf/bpf.h
+++ b/tools/lib/bpf/bpf.h
@@ -43,12 +43,12 @@ struct bpf_map_create_opts {
__u32 btf_value_type_id;
__u32 btf_vmlinux_value_type_id;
- int inner_map_fd;
- int map_flags;
+ __u32 inner_map_fd;
+ __u32 map_flags;
__u64 map_extra;
- int numa_node;
- int map_ifindex;
+ __u32 numa_node;
+ __u32 map_ifindex;
};
#define bpf_map_create_opts__last_field map_ifindex