diff options
author | Tao Chen <chen.dylane@gmail.com> | 2024-07-21 17:42:38 +0300 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2024-07-29 22:54:04 +0300 |
commit | 4f88dde0e1525ee69d29ba235c3965685439d0e3 (patch) | |
tree | 66ed35b896cecf6c2113442bb5fa032e57fe4dd0 /tools/bpf | |
parent | 3b9d4fee8ad32599ba20ab36da7694feef022b48 (diff) | |
download | linux-4f88dde0e1525ee69d29ba235c3965685439d0e3.tar.xz |
bpftool: Add bash-completion for tcx subcommand
This commit adds bash-completion for attaching tcx program on interface.
Signed-off-by: Tao Chen <chen.dylane@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Quentin Monnet <qmo@kernel.org>
Link: https://lore.kernel.org/bpf/20240721144238.96246-1-chen.dylane@gmail.com
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Diffstat (limited to 'tools/bpf')
-rw-r--r-- | tools/bpf/bpftool/bash-completion/bpftool | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/bpf/bpftool/bash-completion/bpftool b/tools/bpf/bpftool/bash-completion/bpftool index be99d49b8714..0c541498c301 100644 --- a/tools/bpf/bpftool/bash-completion/bpftool +++ b/tools/bpf/bpftool/bash-completion/bpftool @@ -1079,7 +1079,7 @@ _bpftool() esac ;; net) - local ATTACH_TYPES='xdp xdpgeneric xdpdrv xdpoffload' + local ATTACH_TYPES='xdp xdpgeneric xdpdrv xdpoffload tcx_ingress tcx_egress' case $command in show|list) [[ $prev != "$command" ]] && return 0 |