mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-26 22:24:09 +08:00
addb9fc90f
idea is pretty simple. for specified map (pointed by struct bpf_map) we would provide descriptor of already loaded map, which is going to be used as a prototype for inner map. proposed workflow: 1) open bpf's object (bpf_object__open) 2) create bpf's map which is going to be used as a prototype 3) find (by name) map-in-map which you want to load and update w/ descriptor of inner map w/ a new helper from this patch 4) load bpf program w/ bpf_object__load Signed-off-by: Nikita V. Shirokov <tehnerd@tehnerd.com> Acked-by: Yonghong Song <yhs@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> |
||
---|---|---|
.. | ||
.gitignore | ||
bpf.c | ||
bpf.h | ||
btf.c | ||
btf.h | ||
Build | ||
libbpf_errno.c | ||
libbpf.c | ||
libbpf.h | ||
Makefile | ||
netlink.c | ||
nlattr.c | ||
nlattr.h | ||
str_error.c | ||
str_error.h | ||
test_libbpf.cpp |