Skip to content

Commit

Permalink
bpftool: Add bash-completion for tcx subcommand
Browse files Browse the repository at this point in the history
This commit adds bash-completion for attaching tcx program on interface.

Signed-off-by: Tao Chen <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Quentin Monnet <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Signed-off-by: Andrii Nakryiko <[email protected]>
  • Loading branch information
chentao-kernel authored and qmonnet committed Sep 2, 2024
1 parent 388bca8 commit 07c984a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bash-completion/bpftool
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 07c984a

Please sign in to comment.