netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [bpf-next v8 0/3] bpftool: Add autoattach for bpf prog load|loadall
@ 2022-10-10 10:59 Wang Yufen
  2022-10-10 10:59 ` [bpf-next v8 1/3] " Wang Yufen
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Wang Yufen @ 2022-10-10 10:59 UTC (permalink / raw)
  To: quentin, ast, daniel, andrii, martin.lau, song, yhs,
	john.fastabend, kpsingh, sdf, haoluo, jolsa, davem, kuba, hawk,
	nathan, ndesaulniers, trix
  Cc: bpf, netdev, llvm

This patchset add "autoattach" optional for "bpftool prog load(_all)" to support
one-step load-attach-pin_link.

v7 -> v8: for the programs not supporting autoattach, fall back to reguler pinning
	  instead of skipping
v6 -> v7: add info msg print and update doc for the skip program
v5 -> v6: skip the programs not supporting auto-attach,
	  and change optional name from "auto_attach" to "autoattach"
v4 -> v5: some formatting nits of doc
v3 -> v4: rename functions, update doc, bash and do_help()
v2 -> v3: switch to extend prog load command instead of extend perf
v2: https://patchwork.kernel.org/project/netdevbpf/patch/20220824033837.458197-1-weiyongjun1@huawei.com/
v1: https://patchwork.kernel.org/project/netdevbpf/patch/20220816151725.153343-1-weiyongjun1@huawei.com/

Wang Yufen (3):
  bpftool: Add autoattach for bpf prog load|loadall
  bpftool: Update doc (add autoattach to prog load)
  bpftool: Update the bash completion(add autoattach to prog load)

 tools/bpf/bpftool/Documentation/bpftool-prog.rst | 15 ++++-
 tools/bpf/bpftool/bash-completion/bpftool        |  1 +
 tools/bpf/bpftool/prog.c                         | 78 +++++++++++++++++++++++-
 3 files changed, 90 insertions(+), 4 deletions(-)

-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-10-14  6:39 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-10 10:59 [bpf-next v8 0/3] bpftool: Add autoattach for bpf prog load|loadall Wang Yufen
2022-10-10 10:59 ` [bpf-next v8 1/3] " Wang Yufen
2022-10-13 19:47   ` Andrii Nakryiko
2022-10-14  2:24     ` wangyufen
2022-10-14  3:43       ` Andrii Nakryiko
2022-10-14  6:38         ` wangyufen
2022-10-10 11:00 ` [bpf-next v8 2/3] bpftool: Update doc (add autoattach to prog load) Wang Yufen
2022-10-10 11:00 ` [bpf-next v8 3/3] bpftool: Update the bash completion(add " Wang Yufen
2022-10-11 16:17 ` [bpf-next v8 0/3] bpftool: Add autoattach for bpf prog load|loadall Quentin Monnet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).