diff options
author | Kui-Feng Lee <kuifeng@meta.com> | 2023-03-22 20:24:04 -0700 |
---|---|---|
committer | Martin KaFai Lau <martin.lau@kernel.org> | 2023-03-22 22:53:02 -0700 |
commit | 809a69d61899f6b79a8e9de474cd93249580fdaf (patch) | |
tree | 1a4f0fc77743b396c992609bb3e6ade844a3c202 /tools/testing/selftests/bpf/prog_tests/bpf_tcp_ca.c | |
parent | 912dd4b0c2a50a839301520badb241f36664ae07 (diff) |
libbpf: Use .struct_ops.link section to indicate a struct_ops with a link.
Flags a struct_ops is to back a bpf_link by putting it to the
".struct_ops.link" section. Once it is flagged, the created
struct_ops can be used to create a bpf_link or update a bpf_link that
has been backed by another struct_ops.
Signed-off-by: Kui-Feng Lee <kuifeng@meta.com>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/r/20230323032405.3735486-8-kuifeng@meta.com
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/bpf_tcp_ca.c')
0 files changed, 0 insertions, 0 deletions