On 1/28/19 11:16 AM, Maciej Fijalkowski wrote: > From: Maciej Fijalkowski <maciej.fijalkow...@intel.com> > > Make xdp samples consistent with iproute2 behavior and set the > XDP_FLAGS_UPDATE_IF_NOEXIST by default when setting the xdp program on > interface. Provide an option for user to force the program loading, > which as a result will not include the mentioned flag in > bpf_set_link_xdp_fd call. > > Signed-off-by: Maciej Fijalkowski <maciej.fijalkow...@intel.com> > Reviewed-by: Jakub Kicinski <jakub.kicin...@netronome.com> > ---
Patch is fine but I don't really know if being consistent with iproute2 here gets us much. I guess if users find the "force" behavior better for a sample that is OK though. Acked-by: John Fastabend <john.fastab...@gmail.com>