path: root/tools/testing/ktest
diff options
authorNikita V. Shirokov <tehnerd@tehnerd.com>2018-11-20 20:55:56 -0800
committerDaniel Borkmann <daniel@iogearbox.net>2018-11-21 23:33:21 +0100
commitaddb9fc90f13898e7779da54f471792e3dfb0d55 (patch)
tree980d642f9058eb893b7f689ddf1bb9749a2bd74b /tools/testing/ktest
parentbpf: libbpf: don't specify prog name if kernel doesn't support it (diff)
bpf: adding support for map in map in libbpf
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>
Diffstat (limited to 'tools/testing/ktest')
0 files changed, 0 insertions, 0 deletions