[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180709194816.fmoohwnwfax5gxe6@ast-mbp.dhcp.thefacebook.com>
Date: Mon, 9 Jul 2018 12:48:20 -0700
From: Alexei Starovoitov <alexei.starovoitov@...il.com>
To: Jakub Kicinski <jakub.kicinski@...ronome.com>
Cc: daniel@...earbox.net, oss-drivers@...ronome.com,
netdev@...r.kernel.org
Subject: Re: [PATCH bpf-next v2 12/12] tools: bpftool: allow reuse of maps
with bpftool prog load
On Mon, Jul 09, 2018 at 10:59:44AM -0700, Jakub Kicinski wrote:
> Add map parameter to prog load which will allow reuse of existing
> maps instead of creating new ones.
>
> We need feature detection and compat code for reallocarray, since
> it's not available in many libc versions.
>
> Signed-off-by: Jakub Kicinski <jakub.kicinski@...ronome.com>
> Reviewed-by: Quentin Monnet <quentin.monnet@...ronome.com>
cmdline interface feels a bit awkward to use, but it's a nice improvement.
Acked-by: Alexei Starovoitov <ast@...nel.org>
any plans to extend bpf_map_def similar to iproute2 ?
so things like pinned file name and map reuse can be specified in .c file
instead of cmdline?
Powered by blists - more mailing lists