aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorMaciej Fijalkowski <[email protected]>2019-02-01 22:42:28 +0100
committerDaniel Borkmann <[email protected]>2019-02-01 23:37:51 +0100
commit743e568c15860d4061202f73214c106a5bb0890b (patch)
treef9970c7cb340abbc687848b8e5cfeb7db8da22bf /tools/perf/scripts/python/sctop.py
parent01dde20ce04b3a18f1e91d6d1ee0ef484d20bbf2 (diff)
samples/bpf: Add a "force" flag to XDP samples
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]> Acked-by: John Fastabend <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions