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 <[email protected]> > Reviewed-by: Quentin Monnet <[email protected]>
cmdline interface feels a bit awkward to use, but it's a nice improvement. Acked-by: Alexei Starovoitov <[email protected]> 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?
