+17
−10
+12
−0
+13
−87
kernel/bpf/bpf_struct_ops_types.h
deleted100644 → 0
+0
−12
+82
−4
Loading
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>