Re: [PATCH bpf-next 1/4] xdp: Support specifying expected existing program when attaching XDP

Alexei Starovoitov
2020-03-25T17:57:04Z

On Wed, Mar 25, 2020 at 11:30:15AM +0100, Toke Høiland-Jørgensen wrote:
>
> From a BPF application developer PoV I can totally understand the desire
> for unified APIs. But that unification can still be achieved at the
> libbpf level, while keeping network interface configuration done through
> netlink.

it cannot be done at libbpf level. The kernel is missing the ownership concept.
netlink vs other is irrelevant.