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.kicin...@netronome.com> > Reviewed-by: Quentin Monnet <quentin.mon...@netronome.com>
cmdline interface feels a bit awkward to use, but it's a nice improvement. Acked-by: Alexei Starovoitov <a...@kernel.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?