Re: [PATCH bpf-next 0/3] bpf: Populate bpffs with map and prog iterators

2020-07-04 Thread Toke Høiland-Jørgensen
Alexei Starovoitov writes: > On Fri, Jul 03, 2020 at 01:18:43PM +0200, Toke Høiland-Jørgensen wrote: >> > The user mode driver will load BPF Type Formats, create BPF maps, populate >> > BPF >> > maps, load two BPF programs, attach them to BPF iterators, and finally >> > send two >> > bpf_

Re: [PATCH bpf-next 0/3] bpf: Populate bpffs with map and prog iterators

2020-07-03 Thread Alexei Starovoitov
On Fri, Jul 03, 2020 at 01:18:43PM +0200, Toke Høiland-Jørgensen wrote: > > The user mode driver will load BPF Type Formats, create BPF maps, populate > > BPF > > maps, load two BPF programs, attach them to BPF iterators, and finally send > > two > > bpf_link IDs back to the kernel. > > The kerne

Re: [PATCH bpf-next 0/3] bpf: Populate bpffs with map and prog iterators

2020-07-03 Thread Toke Høiland-Jørgensen
> The user mode driver will load BPF Type Formats, create BPF maps, populate BPF > maps, load two BPF programs, attach them to BPF iterators, and finally send > two > bpf_link IDs back to the kernel. > The kernel will pin two bpf_links into newly mounted bpffs instance under > names "progs" and "m