Skip to content

Commit 4f88dde

Browse files
chentao-kernelanakryiko
authored andcommitted
bpftool: Add bash-completion for tcx subcommand
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]>
1 parent 3b9d4fe commit 4f88dde

File tree

1 file changed

+1
-1
lines changed
  • tools/bpf/bpftool/bash-completion

1 file changed

+1
-1
lines changed

tools/bpf/bpftool/bash-completion/bpftool

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1079,7 +1079,7 @@ _bpftool()
10791079
esac
10801080
;;
10811081
net)
1082-
local ATTACH_TYPES='xdp xdpgeneric xdpdrv xdpoffload'
1082+
local ATTACH_TYPES='xdp xdpgeneric xdpdrv xdpoffload tcx_ingress tcx_egress'
10831083
case $command in
10841084
show|list)
10851085
[[ $prev != "$command" ]] && return 0

0 commit comments

Comments
 (0)