diff options
author | Kui-Feng Lee <[email protected]> | 2024-05-29 23:59:39 -0700 |
---|---|---|
committer | Martin KaFai Lau <[email protected]> | 2024-05-30 15:34:13 -0700 |
commit | 73287fe228721b05690e671adbcccc6cf5435be6 (patch) | |
tree | 79813d3b5556ae05d70eb6794fc8024294db4ca3 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | 46253c4ae96162a840ad65c1394de63796d7798a (diff) |
bpf: pass bpf_struct_ops_link to callbacks in bpf_struct_ops.
Pass an additional pointer of bpf_struct_ops_link to callback function reg,
unreg, and update provided by subsystems defined in bpf_struct_ops. A
bpf_struct_ops_map can be registered for multiple links. Passing a pointer
of bpf_struct_ops_link helps subsystems to distinguish them.
This pointer will be used in the later patches to let the subsystem
initiate a detachment on a link that was registered to it previously.
Signed-off-by: Kui-Feng Lee <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Martin KaFai Lau <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions