aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/sockmap_basic.c
diff options
context:
space:
mode:
authorYonghong Song <[email protected]>2024-04-10 04:35:27 +0000
committerAlexei Starovoitov <[email protected]>2024-04-11 02:52:25 +0000
commit699c23f02c65cbfc3e638f14ce0d70c23a2e1f02 (patch)
tree070b277b3ca08c33c240a73d794ce2226dd6a719 /tools/testing/selftests/bpf/prog_tests/sockmap_basic.c
parentselftests/bpf: Add tests for atomics in bpf_arena. (diff)
downloadkernel-699c23f02c65cbfc3e638f14ce0d70c23a2e1f02.tar.gz
kernel-699c23f02c65cbfc3e638f14ce0d70c23a2e1f02.zip
bpf: Add bpf_link support for sk_msg and sk_skb progs
Add bpf_link support for sk_msg and sk_skb programs. We have an internal request to support bpf_link for sk_msg programs so user space can have a uniform handling with bpf_link based libbpf APIs. Using bpf_link based libbpf API also has a benefit which makes system robust by decoupling prog life cycle and attachment life cycle. Reviewed-by: John Fastabend <[email protected]> Signed-off-by: Yonghong Song <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/sockmap_basic.c')
0 files changed, 0 insertions, 0 deletions