diff options
author | Alexei Starovoitov <ast@kernel.org> | 2024-08-21 10:37:52 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2024-08-21 10:37:52 -0700 |
commit | ffc41ce5cf09f8d7113aca98e68f6e11956c0eab (patch) | |
tree | a9b245d25a12cf4eedacd62ca1afe12167119567 /tools/testing/selftests/bpf/prog_tests/access_variable_array.c | |
parent | 01ac89d0a5c2332be25a1b7ef707bad9ddb9fc20 (diff) | |
parent | b0cd726f9a8279b33faa5b4b0011df14f331fb33 (diff) |
Merge branch 'support-passing-bpf-iterator-to-kfuncs'
Andrii Nakryiko says:
====================
Support passing BPF iterator to kfuncs
Add support for passing BPF iterator state to any kfunc. Such kfunc has to
declare such argument with valid `struct bpf_iter_<type> *` type and should
use "__iter" suffix in argument name, following the established suffix-based
convention. We add a simple test/demo iterator getter in bpf_testmod.
====================
Link: https://lore.kernel.org/r/20240808232230.2848712-1-andrii@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/access_variable_array.c')
0 files changed, 0 insertions, 0 deletions