Re: [PATCH bpf-next v2 0/3] Allow struct_ops to create map id to

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello:

This series was applied to bpf/bpf-next.git (master)
by Martin KaFai Lau <martin.lau@xxxxxxxxxx>:

On Wed,  6 Aug 2025 09:25:37 -0700 you wrote:
> v1 -> v2
>     Add bpf_struct_ops_id() instead of using bpf_struct_ops_get()
> 
> Hi,
> 
> This patchset allows struct_ops implementors to get map id from kdata in
> reg(), unreg() and update() so that they create an id to struct_ops
> instance mapping. This in turn allows struct_ops kfuncs to refer to the
> calling instance without passing a pointer to the struct_ops. The selftest
> provides an end-to-end example.
> 
> [...]

Here is the summary with links:
  - [bpf-next,v2,1/3] bpf: Allow struct_ops to get map id by kdata
    https://git.kernel.org/bpf/bpf-next/c/d87a513d0937
  - [bpf-next,v2,2/3] selftests/bpf: Add multi_st_ops that supports multiple instances
    https://git.kernel.org/bpf/bpf-next/c/eeb52b6279cf
  - [bpf-next,v2,3/3] selftests/bpf: Test multi_st_ops and calling kfuncs from different programs
    https://git.kernel.org/bpf/bpf-next/c/ba7000f1c360

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






[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux