Re: [PATCH bpf-next v2] bpf: use kfunc hooks instead of program types

From: Alexei Starovoitov
Date: Tue Oct 29 2024 - 11:15:41 EST


On Tue, Oct 29, 2024 at 7:34 AM Matteo Croce <technoboy85@xxxxxxxxx> wrote:
>
> From: Matteo Croce <teknoraver@xxxxxxxx>
>
> Pass to register_btf_kfunc_id_set() a btf_kfunc_hook directly, instead
> of a bpf_prog_type.
> Many program types share the same kfunc hook, so some calls to
> register_btf_kfunc_id_set() can be removed.

Still nack for the same reason: let's avoid churn
when kfunc registration needs a redesign.

pw-bot: cr