From: Quentin Monnet <qmo@kernel.org>
To: Tao Chen <chen.dylane@gmail.com>,
Alexei Starovoitov <ast@kernel.org>,
Daniel Borkmann <daniel@iogearbox.net>,
Andrii Nakryiko <andrii@kernel.org>,
Martin KaFai Lau <martin.lau@linux.dev>
Cc: Eduard Zingerman <eddyz87@gmail.com>, Song Liu <song@kernel.org>,
Yonghong Song <yonghong.song@linux.dev>,
John Fastabend <john.fastabend@gmail.com>,
bpf@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [RFC PATCH bpf-next 3/3] bpftool: add document for net attach/detach on tcx subcommand
Date: Tue, 16 Jul 2024 18:23:59 +0100 [thread overview]
Message-ID: <dd993a42-574c-4697-8319-5d3deea2f2cb@kernel.org> (raw)
In-Reply-To: <20240715113704.1279881-4-chen.dylane@gmail.com>
2024-07-15 12:37 UTC+0100 ~ Tao Chen <chen.dylane@gmail.com>
> This commit adds sample output for net attach/detach on
> tcx subcommand.
>
> Signed-off-by: Tao Chen <chen.dylane@gmail.com>
> ---
> .../bpf/bpftool/Documentation/bpftool-net.rst | 22 ++++++++++++++++++-
> 1 file changed, 21 insertions(+), 1 deletion(-)
>
> diff --git a/tools/bpf/bpftool/Documentation/bpftool-net.rst b/tools/bpf/bpftool/Documentation/bpftool-net.rst
> index 348812881297..64de7a33f176 100644
> --- a/tools/bpf/bpftool/Documentation/bpftool-net.rst
> +++ b/tools/bpf/bpftool/Documentation/bpftool-net.rst
> @@ -29,7 +29,7 @@ NET COMMANDS
> | **bpftool** **net help**
> |
> | *PROG* := { **id** *PROG_ID* | **pinned** *FILE* | **tag** *PROG_TAG* | **name** *PROG_NAME* }
> -| *ATTACH_TYPE* := { **xdp** | **xdpgeneric** | **xdpdrv** | **xdpoffload** }
> +| *ATTACH_TYPE* := { **xdp** | **xdpgeneric** | **xdpdrv** | **xdpoffload** | **tcxingress** | **tcxegress** }
>
> DESCRIPTION
> ===========
> @@ -69,6 +69,8 @@ bpftool net attach *ATTACH_TYPE* *PROG* dev *NAME* [ overwrite ]
> **xdpgeneric** - Generic XDP. runs at generic XDP hook when packet already enters receive path as skb;
> **xdpdrv** - Native XDP. runs earliest point in driver's receive path;
> **xdpoffload** - Offload XDP. runs directly on NIC on each packet reception;
> + **tcxingress** - Ingress TC. runs on ingress net traffic;
> + **tcxegress** - Egress TC. runs on egress net traffic;
I'd keep "TCX" rather than "TC" in the docs, please, to avoid confusion
with programs attached to clsact qdiscs, for example.
prev parent reply other threads:[~2024-07-16 17:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-15 11:37 [RFC PATCH bpf-next 0/3] bpftool: add tcx subcommand in net Tao Chen
2024-07-15 11:37 ` [RFC PATCH bpf-next 1/3] bpftool: add net attach/detach command to tcx prog Tao Chen
2024-07-16 17:23 ` Quentin Monnet
2024-07-17 14:51 ` Tao Chen
2024-07-15 11:37 ` [RFC PATCH bpf-next 2/3] bpftool: add bash-completion for tcx subcommand Tao Chen
2024-07-15 11:37 ` [RFC PATCH bpf-next 3/3] bpftool: add document for net attach/detach on " Tao Chen
2024-07-16 17:23 ` Quentin Monnet [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=dd993a42-574c-4697-8319-5d3deea2f2cb@kernel.org \
--to=qmo@kernel.org \
--cc=andrii@kernel.org \
--cc=ast@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=chen.dylane@gmail.com \
--cc=daniel@iogearbox.net \
--cc=eddyz87@gmail.com \
--cc=john.fastabend@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=martin.lau@linux.dev \
--cc=song@kernel.org \
--cc=yonghong.song@linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox