]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'bpf-libbpf-int-btf-map'
authorDaniel Borkmann <daniel@iogearbox.net>
Fri, 5 Jul 2019 20:52:26 +0000 (22:52 +0200)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 5 Jul 2019 20:52:27 +0000 (22:52 +0200)
commitd203fee466ad0d5a9256bd16c9f24d0c5eaee705
treedcb5097948742ffc5be049ae008120ec7a18c522
parent3975b00a4da00374b2a49a377d49291acc94f3ca
parent79f75e178fe44d3060579235adac6b4a6c9536dc
Merge branch 'bpf-libbpf-int-btf-map'

Andrii Nakryiko says:

====================
This patch set implements an update to how BTF-defined maps are specified. The
change is in how integer attributes, e.g., type, max_entries, map_flags, are
specified: now they are captured as part of map definition struct's BTF type
information (using array dimension), eliminating the need for compile-time
data initialization and keeping all the metadata in one place.

All existing selftests that were using BTF-defined maps are updated, along
with some other selftests, that were switched to new syntax.

v4->v5:
- revert sample_map_ret0.c, which is loaded with iproute2 (kernel test robot);
v3->v4:
- add acks;
- fix int -> uint type in commit message;
v2->v3:
- rename __int into __uint (Yonghong);
v1->v2:
- split bpf_helpers.h change from libbpf change (Song).
====================

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>