[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <fa033485-6d1e-9a9f-0b51-75669483db42@solarflare.com>
Date: Tue, 20 Nov 2018 11:29:16 +0000
From: Edward Cree <ecree@...arflare.com>
To: "Nikita V. Shirokov" <tehnerd@...nerd.com>,
Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>,
Jakub Kicinski <jakub.kicinski@...ronome.com>
CC: <netdev@...r.kernel.org>
Subject: Re: [PATCH bpf-next 1/2] bpf: adding support for map in map in libbpf
On 20/11/18 00:06, Nikita V. Shirokov wrote:
> 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
>
> inner_map_fd is ignored by any other maps asidef from (hash|array) of
"asidef" -> "aside"
Powered by blists - more mailing lists