Skip to contentSkip to conversation

bpftool: add bash-completion for tcx subcommand

PATCH Applied Tao Chen 1 participant 1 message Jul 21, 2024

Subsystems (2)
lore
Share & tools
lore

Tao Chen

author
#0 lore raw

PATCH v3 3/4 bpftool: add bash-completion for tcx subcommand

This commit adds bash-completion for attaching tcx program on interface.

---
 tools/bpf/bpftool/bash-completion/bpftool | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/bpf/bpftool/bash-completion/bpftool +1 -1
index be99d49b8714..0c541498c301 100644
@@ -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
Signature · 1 line
2.34.1