diff options
| author | Amery Hung <ameryhung@gmail.com> | 2025-08-06 19:25:39 +0300 |
|---|---|---|
| committer | Martin KaFai Lau <martin.lau@kernel.org> | 2025-08-07 02:01:56 +0300 |
| commit | eeb52b6279cfebae07703f772621fb9d5972e541 (patch) | |
| tree | 224105f80187b8b967f24547756653ad0bf98947 /include | |
| parent | d87a513d093726d121dd5c816e26803111a259d0 (diff) | |
| download | linux-eeb52b6279cfebae07703f772621fb9d5972e541.tar.xz | |
selftests/bpf: Add multi_st_ops that supports multiple instances
Current struct_ops in bpf_testmod only support attaching single instance.
Add multi_st_ops that supports multiple instances. The struct_ops uses map
id as the struct_ops id and will reject attachment with an existing id.
Signed-off-by: Amery Hung <ameryhung@gmail.com>
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Link: https://patch.msgid.link/20250806162540.681679-3-ameryhung@gmail.com
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
