diff options
author | Daniel T. Lee <danieltimlee@gmail.com> | 2019-08-13 05:46:19 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2019-08-16 03:00:33 +0300 |
commit | 37c7f863ba92f0a7aa8bdfde9dfb6c392393fb83 (patch) | |
tree | 7ff7a7b0c4b9b413c50795a66a30853106a7e48e /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 04949ccc273e14d28aa004ac6954af0898ca3d12 (diff) | |
download | linux-37c7f863ba92f0a7aa8bdfde9dfb6c392393fb83.tar.xz |
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 <yhs@fb.com>
Signed-off-by: Daniel T. Lee <danieltimlee@gmail.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions