All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH bpf-next 0/2] bpf: adding support for mapinmap in libbpf
@ 2018-11-20  0:06 Nikita V. Shirokov
  2018-11-20  0:06 ` [PATCH bpf-next 1/2] bpf: adding support for map in map " Nikita V. Shirokov
  2018-11-20  0:06 ` [PATCH bpf-next 2/2] bpf: adding tests for mapinmap helpber " Nikita V. Shirokov
  0 siblings, 2 replies; 8+ messages in thread
From: Nikita V. Shirokov @ 2018-11-20  0:06 UTC (permalink / raw)
  To: Alexei Starovoitov, Daniel Borkmann, Jakub Kicinski
  Cc: netdev, Nikita V. Shirokov

in this patch series i'm adding a helper for libbpf which would allow
it to load map-in-map(BPF_MAP_TYPE_ARRAY_OF_MAPS and
BPF_MAP_TYPE_HASH_OF_MAPS).
first patch contains new helper + explains proposed workflow
second patch contains tests which also could be used as example of
usage

Nikita V. Shirokov (2):
  bpf: adding support for map in map in libbpf
  bpf: adding tests for mapinmap helpber in libbpf

 tools/lib/bpf/libbpf.c                      |  7 +++
 tools/lib/bpf/libbpf.h                      |  2 +
 tools/testing/selftests/bpf/Makefile        |  3 +-
 tools/testing/selftests/bpf/test_mapinmap.c | 53 ++++++++++++++++++++
 tools/testing/selftests/bpf/test_maps.c     | 76 +++++++++++++++++++++++++++++
 5 files changed, 140 insertions(+), 1 deletion(-)
 create mode 100644 tools/testing/selftests/bpf/test_mapinmap.c

-- 
2.15.1

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-11-20 21:58 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-20  0:06 [PATCH bpf-next 0/2] bpf: adding support for mapinmap in libbpf Nikita V. Shirokov
2018-11-20  0:06 ` [PATCH bpf-next 1/2] bpf: adding support for map in map " Nikita V. Shirokov
2018-11-20  1:12   ` Y Song
2018-11-20  1:38     ` Nikita V. Shirokov
2018-11-20 11:29   ` Edward Cree
2018-11-20  0:06 ` [PATCH bpf-next 2/2] bpf: adding tests for mapinmap helpber " Nikita V. Shirokov
2018-11-20  1:18   ` Y Song
2018-11-20  1:37     ` Nikita V. Shirokov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.