diff options
author | Daniel T. Lee <[email protected]> | 2019-08-13 11:46:19 +0900 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2019-08-15 17:00:33 -0700 |
commit | 37c7f863ba92f0a7aa8bdfde9dfb6c392393fb83 (patch) | |
tree | 7ff7a7b0c4b9b413c50795a66a30853106a7e48e /tools/perf/scripts/python/check-perf-trace.py | |
parent | 04949ccc273e14d28aa004ac6954af0898ca3d12 (diff) |
tools: bpftool: add net detach command to detach XDP on interface
By this commit, using `bpftool net detach`, the attached XDP prog can
be detached. Detaching the BPF prog will be done through libbpf
'bpf_set_link_xdp_fd' with the progfd set to -1.
Acked-by: Yonghong Song <[email protected]>
Signed-off-by: Daniel T. Lee <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions