summaryrefslogtreecommitdiff
path: root/tools/lib/bpf/bpf.c
diff options
context:
space:
mode:
authorKui-Feng Lee <thinker.li@gmail.com>2024-01-19 14:50:02 -0800
committerMartin KaFai Lau <martin.lau@kernel.org>2024-01-23 17:12:46 -0800
commitf6be98d19985411ca1f3d53413d94d5b7f41c200 (patch)
tree42992e3ac7a76fbb27a46dabeb2bf93ca7dc6f61 /tools/lib/bpf/bpf.c
parent612d087d4ba54cef47946e22e5dabad762dd7ed5 (diff)
downloadlinux-f6be98d19985411ca1f3d53413d94d5b7f41c200.tar.gz
linux-f6be98d19985411ca1f3d53413d94d5b7f41c200.tar.bz2
linux-f6be98d19985411ca1f3d53413d94d5b7f41c200.zip
bpf, net: switch to dynamic registration
Replace the static list of struct_ops types with per-btf struct_ops_tab to enable dynamic registration. Both bpf_dummy_ops and bpf_tcp_ca now utilize the registration function instead of being listed in bpf_struct_ops_types.h. Cc: netdev@vger.kernel.org Signed-off-by: Kui-Feng Lee <thinker.li@gmail.com> Link: https://lore.kernel.org/r/20240119225005.668602-12-thinker.li@gmail.com Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'tools/lib/bpf/bpf.c')
0 files changed, 0 insertions, 0 deletions