[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20240721144238.96246-1-chen.dylane@gmail.com>
Date: Sun, 21 Jul 2024 22:42:38 +0800
From: Tao Chen <chen.dylane@...il.com>
To: Quentin Monnet <qmo@...nel.org>,
Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>,
Andrii Nakryiko <andrii@...nel.org>,
Martin KaFai Lau <martin.lau@...ux.dev>,
chen.dylane@...il.com
Cc: Eduard Zingerman <eddyz87@...il.com>,
Song Liu <song@...nel.org>,
Yonghong Song <yonghong.song@...ux.dev>,
John Fastabend <john.fastabend@...il.com>,
bpf@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [v3 PATCH bpf-next 3/4] bpftool: add bash-completion for tcx subcommand
This commit adds bash-completion for attaching tcx program on interface.
Acked-by: Quentin Monnet <qmo@...nel.org>
Signed-off-by: Tao Chen <chen.dylane@...il.com>
---
tools/bpf/bpftool/bash-completion/bpftool | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
--
2.34.1
Powered by blists - more mailing lists