Re: [PATCH v3 bpf-next 0/3] Add BTF-defined map-in-map support to libbpf

2020-04-28 Thread Alexei Starovoitov
On Tue, Apr 28, 2020 at 05:27:36PM -0700, Andrii Nakryiko wrote: > This patch set teaches libbpf how to declare and initialize ARRAY_OF_MAPS and > HASH_OF_MAPS maps. See patch #3 for all the details. > > Patch #1 refactors parsing BTF definition of map to re-use it cleanly for > inner map definiti

[PATCH v3 bpf-next 0/3] Add BTF-defined map-in-map support to libbpf

2020-04-28 Thread Andrii Nakryiko
This patch set teaches libbpf how to declare and initialize ARRAY_OF_MAPS and HASH_OF_MAPS maps. See patch #3 for all the details. Patch #1 refactors parsing BTF definition of map to re-use it cleanly for inner map definition parsing. Patch #2 refactors map creation and destruction logic for reus