On 1/28/19 11:16 AM, Maciej Fijalkowski wrote: > From: Maciej Fijalkowski <[email protected]> > > 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 <[email protected]> > Reviewed-by: Jakub Kicinski <[email protected]> > ---
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 <[email protected]>
