mbox series

[v3,bpf-next,0/4] bpftool: add tcx subcommand in net

Message ID 20240721143353.95980-1-chen.dylane@gmail.com (mailing list archive)
Headers show
Series bpftool: add tcx subcommand in net | expand

Message

Tao Chen July 21, 2024, 2:33 p.m. UTC
XDP prog has already realised with net attach/detach subcommand.
As Qmonnet said [0], tcx prog may also can be added. So this patch set
adds tcx subcommand in net attach/detach.

[0] https://github.com/libbpf/bpftool/issues/124

Change list:
- v2 -> v3:
    - fix return value in patch2
    - replace tabs with spaces patch2
- v1 -> v2:
  - As suggested by Quentin, modification as fellows:
    - refactor xdp attach/detach type judgment in patch1
    - err handle fix for xdp in patch2
    - change command tcx* to tcx_* in patch2
    - some code modification for readable in patch2
    - document modification for readable in patch4

Revisions:
- v1 https://lore.kernel.org/bpf/20240715113704.1279881-1-chen.dylane@gmail.com
- v2 https://lore.kernel.org/bpf/20240717174524.1511212-1-chen.dylane@gmail.com

Tao Chen (4):
  bpftool: refactor xdp attach/detach type judgment
  bpftool: add net attach/detach command to tcx prog
  bpftool: add bash-completion for tcx subcommand
  bpftool: add document for net attach/detach on tcx subcommand

 .../bpf/bpftool/Documentation/bpftool-net.rst | 22 +++++-
 tools/bpf/bpftool/bash-completion/bpftool     |  2 +-
 tools/bpf/bpftool/net.c                       | 69 +++++++++++++++++--
 3 files changed, 85 insertions(+), 8 deletions(-)

Comments

bot+bpf-ci@kernel.org July 21, 2024, 3:25 p.m. UTC | #1
Dear patch submitter,

CI has tested the following submission:
Status:     SUCCESS
Name:       [v3,bpf-next,0/4] bpftool: add tcx subcommand in net
Patchwork:  https://patchwork.kernel.org/project/netdevbpf/list/?series=872760&state=*
Matrix:     https://github.com/kernel-patches/bpf/actions/runs/10029201939

No further action is necessary on your part.


Please note: this email is coming from an unmonitored mailbox. If you have
questions or feedback, please reach out to the Meta Kernel CI team at
kernel-ci@meta.com.
patchwork-bot+netdevbpf@kernel.org July 22, 2024, 2:50 p.m. UTC | #2
Hello:

This series was applied to bpf/bpf-next.git (master)
by Daniel Borkmann <daniel@iogearbox.net>:

On Sun, 21 Jul 2024 22:33:49 +0800 you wrote:
> XDP prog has already realised with net attach/detach subcommand.
> As Qmonnet said [0], tcx prog may also can be added. So this patch set
> adds tcx subcommand in net attach/detach.
> 
> [0] https://github.com/libbpf/bpftool/issues/124
> 
> Change list:
> - v2 -> v3:
>     - fix return value in patch2
>     - replace tabs with spaces patch2
> - v1 -> v2:
>   - As suggested by Quentin, modification as fellows:
>     - refactor xdp attach/detach type judgment in patch1
>     - err handle fix for xdp in patch2
>     - change command tcx* to tcx_* in patch2
>     - some code modification for readable in patch2
>     - document modification for readable in patch4
> 
> [...]

Here is the summary with links:
  - [v3,bpf-next,1/4] bpftool: refactor xdp attach/detach type judgment
    https://git.kernel.org/bpf/bpf-next/c/f408126f7b33
  - [v3,bpf-next,2/4] bpftool: add net attach/detach command to tcx prog
    https://git.kernel.org/bpf/bpf-next/c/7f1cfa6b64c6
  - [v3,bpf-next,3/4] bpftool: add bash-completion for tcx subcommand
    https://git.kernel.org/bpf/bpf-next/c/0445e0c5c2e1
  - [v3,bpf-next,4/4] bpftool: add document for net attach/detach on tcx subcommand
    https://git.kernel.org/bpf/bpf-next/c/6d5848d4fe98

You are awesome, thank you!