Re: [PATCH bpf-next v3 0/4] bpf: Support struct_ops in light skeletons

From: patchwork-bot+netdevbpf

Date: Tue Dec 01 2026 - 16:00:11 EST


Hello:

This series was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@xxxxxxxxxx>:

On Tue, 01 Dec 2026 17:33:36 +0000 you wrote:
> BPF light skeletons (bpftool gen skeleton -L) compile BPF object loading
> into a self-contained BPF_PROG_TYPE_SYSCALL loader program (gen_loader)
> embedded in a C header, removing any runtime dependency on libbpf or
> userspace BTF parsing. Currently, light skeletons do not support
> BPF_MAP_TYPE_STRUCT_OPS maps or BPF_PROG_TYPE_STRUCT_OPS programs
> because preparing a struct_ops map normally relies on libbpf parsing the
> target vmlinux or kernel module BTF in userspace to resolve type IDs,
> struct sizes, member byte offsets, and member indices.
>
> [...]

Here is the summary with links:
- [bpf-next,v3,1/4] bpf: Support struct_ops with object BTF
https://git.kernel.org/bpf/bpf-next/c/466ae6570ce8
- [bpf-next,v3,2/4] libbpf: Support struct_ops in light skeleton loader
https://git.kernel.org/bpf/bpf-next/c/9fb39c4ba9cc
- [bpf-next,v3,3/4] bpftool: Generate attach and detach for struct_ops in light skeletons
https://git.kernel.org/bpf/bpf-next/c/788d674512f4
- [bpf-next,v3,4/4] selftests/bpf: Add light skeleton struct_ops tests
https://git.kernel.org/bpf/bpf-next/c/beefc3ad9093

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html