Re: [PATCH v2 bpf-next 00/11] BTF-defined BPF map definitions

2019-06-25 Thread Andrii Nakryiko
On Fri, Jun 21, 2019 at 10:56 AM Andrii Nakryiko wrote: > > On Fri, Jun 21, 2019 at 3:29 AM Lorenz Bauer wrote: > > > > On Fri, 21 Jun 2019 at 05:20, Andrii Nakryiko > > wrote: > > > > > > On Thu, Jun 20, 2019 at 7:49 AM Lorenz Bauer wrote: > > > > > > > > On Tue, 18 Jun 2019 at 22:37, Andrii

Re: [PATCH v2 bpf-next 00/11] BTF-defined BPF map definitions

2019-06-21 Thread Andrii Nakryiko
On Fri, Jun 21, 2019 at 3:29 AM Lorenz Bauer wrote: > > On Fri, 21 Jun 2019 at 05:20, Andrii Nakryiko > wrote: > > > > On Thu, Jun 20, 2019 at 7:49 AM Lorenz Bauer wrote: > > > > > > On Tue, 18 Jun 2019 at 22:37, Andrii Nakryiko > > > wrote: > > > > > > > > I would just drop the object-scope

Re: [PATCH v2 bpf-next 00/11] BTF-defined BPF map definitions

2019-06-21 Thread Lorenz Bauer
On Fri, 21 Jun 2019 at 05:20, Andrii Nakryiko wrote: > > On Thu, Jun 20, 2019 at 7:49 AM Lorenz Bauer wrote: > > > > On Tue, 18 Jun 2019 at 22:37, Andrii Nakryiko > > wrote: > > > > > > I would just drop the object-scope pinning. We avoided using it and I'm > > > > not > > > > aware if anyone

Re: [PATCH v2 bpf-next 00/11] BTF-defined BPF map definitions

2019-06-20 Thread Andrii Nakryiko
On Thu, Jun 20, 2019 at 7:49 AM Lorenz Bauer wrote: > > On Tue, 18 Jun 2019 at 22:37, Andrii Nakryiko > wrote: > > > > I would just drop the object-scope pinning. We avoided using it and I'm > > > not > > > aware if anyone else make use. It also has the ugly side-effect that this > > > relies o

Re: [PATCH v2 bpf-next 00/11] BTF-defined BPF map definitions

2019-06-20 Thread Lorenz Bauer
On Tue, 18 Jun 2019 at 22:37, Andrii Nakryiko wrote: > > I would just drop the object-scope pinning. We avoided using it and I'm not > > aware if anyone else make use. It also has the ugly side-effect that this > > relies on AF_ALG which e.g. on some cloud provider shipped kernels is > > disable

Re: [PATCH v2 bpf-next 00/11] BTF-defined BPF map definitions

2019-06-18 Thread Andrii Nakryiko
On Mon, Jun 17, 2019 at 2:17 PM Daniel Borkmann wrote: > > On 06/17/2019 09:26 PM, Andrii Nakryiko wrote: > > This patch set implements initial version (as discussed at LSF/MM2019 > > conference) of a new way to specify BPF maps, relying on BTF type > > information, > > which allows for easy exte

Re: [PATCH v2 bpf-next 00/11] BTF-defined BPF map definitions

2019-06-17 Thread Daniel Borkmann
On 06/17/2019 11:17 PM, Daniel Borkmann wrote: > On 06/17/2019 09:26 PM, Andrii Nakryiko wrote: >> This patch set implements initial version (as discussed at LSF/MM2019 >> conference) of a new way to specify BPF maps, relying on BTF type >> information, >> which allows for easy extensibility, pres

Re: [PATCH v2 bpf-next 00/11] BTF-defined BPF map definitions

2019-06-17 Thread Daniel Borkmann
On 06/17/2019 09:26 PM, Andrii Nakryiko wrote: > This patch set implements initial version (as discussed at LSF/MM2019 > conference) of a new way to specify BPF maps, relying on BTF type information, > which allows for easy extensibility, preserving forward and backward > compatibility. See details

[PATCH v2 bpf-next 00/11] BTF-defined BPF map definitions

2019-06-17 Thread Andrii Nakryiko
This patch set implements initial version (as discussed at LSF/MM2019 conference) of a new way to specify BPF maps, relying on BTF type information, which allows for easy extensibility, preserving forward and backward compatibility. See details and examples in description for patch #6. [0] contain