Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Tao Chen and committed by
Andrii Nakryiko
4f88dde0 3b9d4fee

+1 -1
+1 -1
tools/bpf/bpftool/bash-completion/bpftool
··· 1079 1079 esac 1080 1080 ;; 1081 1081 net) 1082 - local ATTACH_TYPES='xdp xdpgeneric xdpdrv xdpoffload' 1082 + local ATTACH_TYPES='xdp xdpgeneric xdpdrv xdpoffload tcx_ingress tcx_egress' 1083 1083 case $command in 1084 1084 show|list) 1085 1085 [[ $prev != "$command" ]] && return 0