Message ID | 20240410043522.3736912-1-yonghong.song@linux.dev (mailing list archive) |
---|---|
Headers | show |
Series | bpf: Add bpf_link support for sk_msg and sk_skb progs | expand |
Hello: This series was applied to bpf/bpf-next.git (master) by Alexei Starovoitov <ast@kernel.org>: On Tue, 9 Apr 2024 21:35:22 -0700 you wrote: > One of our internal services started to use sk_msg program and currently > it used existing prog attach/detach2 as demonstrated in selftests. > But attach/detach of all other bpf programs are based on bpf_link. > Consistent attach/detach APIs for all programs will make things easy to > undersand and less error prone. So this patch added bpf_link > support for BPF_PROG_TYPE_SK_MSG. Based on comments from > previous RFC patch, I added BPF_PROG_TYPE_SK_SKB support as well > as both program types have similar treatment w.r.t. bpf_link > handling. > > [...] Here is the summary with links: - [bpf-next,v7,1/5] bpf: Add bpf_link support for sk_msg and sk_skb progs https://git.kernel.org/bpf/bpf-next/c/699c23f02c65 - [bpf-next,v7,2/5] libbpf: Add bpf_link support for BPF_PROG_TYPE_SOCKMAP https://git.kernel.org/bpf/bpf-next/c/849989af61ad - [bpf-next,v7,3/5] bpftool: Add link dump support for BPF_LINK_TYPE_SOCKMAP https://git.kernel.org/bpf/bpf-next/c/1f3e2091d25b - [bpf-next,v7,4/5] selftests/bpf: Refactor out helper functions for a few tests https://git.kernel.org/bpf/bpf-next/c/a15d58b2bc82 - [bpf-next,v7,5/5] selftests/bpf: Add some tests with new bpf_program__attach_sockmap() APIs https://git.kernel.org/bpf/bpf-next/c/8ba218e625f0 You are awesome, thank you!