aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/netlink.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <andriin@fb.com>2019-06-17 15:26:53 -0400
committerDaniel Borkmann <daniel@iogearbox.net>2019-06-17 18:10:39 -0400
commitbf82927125dd25003d76ed5541da704df21de57a (patch)
tree991f621f7ec18f306ed65911d89212b007c8cbf0 /tools/lib/bpf/netlink.c
parent01b29d1dc9a06e2cdc6a0172d35605eb0300ecb2 (diff)
libbpf: refactor map initialization
User and global data maps initialization has gotten pretty complicated and unnecessarily convoluted. This patch splits out the logic for global data map and user-defined map initialization. It also removes the restriction of pre-calculating how many maps will be initialized, instead allowing to keep adding new maps as they are discovered, which will be used later for BTF-defined map definitions. Signed-off-by: Andrii Nakryiko <andriin@fb.com> Acked-by: Song Liu <songliubraving@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/lib/bpf/netlink.c')
0 files changed, 0 insertions, 0 deletions