Re: [Intel-wired-lan] [PATCH bpf-next v4 03/11] libbpf: add flags to umem config

2019-08-02 Thread Björn Töpel
On Fri, 2 Aug 2019 at 09:19, Andrii Nakryiko wrote: > > On Thu, Aug 1, 2019 at 12:34 AM Björn Töpel wrote: > > [...] > > > > Old application, dynamically linked to new libbpf.so will crash, > > right? Old application passes old version of xsk_umem_config, and new > > library accesses (non-existin

Re: [Intel-wired-lan] [PATCH bpf-next v4 03/11] libbpf: add flags to umem config

2019-08-02 Thread Andrii Nakryiko
On Thu, Aug 1, 2019 at 12:34 AM Björn Töpel wrote: > > On Thu, 1 Aug 2019 at 08:59, Andrii Nakryiko > wrote: > > > > On Wed, Jul 31, 2019 at 8:21 AM Björn Töpel wrote: > > > > > > On Tue, 30 Jul 2019 at 19:43, Kevin Laatz wrote: > > > > > > > > This patch adds a 'flags' field to the umem_confi

Re: [Intel-wired-lan] [PATCH bpf-next v4 03/11] libbpf: add flags to umem config

2019-08-01 Thread Björn Töpel
On Thu, 1 Aug 2019 at 08:59, Andrii Nakryiko wrote: > > On Wed, Jul 31, 2019 at 8:21 AM Björn Töpel wrote: > > > > On Tue, 30 Jul 2019 at 19:43, Kevin Laatz wrote: > > > > > > This patch adds a 'flags' field to the umem_config and umem_reg structs. > > > This will allow for more options to be ad

Re: [Intel-wired-lan] [PATCH bpf-next v4 03/11] libbpf: add flags to umem config

2019-07-31 Thread Andrii Nakryiko
On Wed, Jul 31, 2019 at 8:21 AM Björn Töpel wrote: > > On Tue, 30 Jul 2019 at 19:43, Kevin Laatz wrote: > > > > This patch adds a 'flags' field to the umem_config and umem_reg structs. > > This will allow for more options to be added for configuring umems. > > > > The first use for the flags fiel

Re: [Intel-wired-lan] [PATCH bpf-next v4 03/11] libbpf: add flags to umem config

2019-07-31 Thread Björn Töpel
On Tue, 30 Jul 2019 at 19:43, Kevin Laatz wrote: > > This patch adds a 'flags' field to the umem_config and umem_reg structs. > This will allow for more options to be added for configuring umems. > > The first use for the flags field is to add a flag for unaligned chunks > mode. These flags can ei

Re: [Intel-wired-lan] [PATCH bpf-next v4 03/11] libbpf: add flags to umem config

2019-07-31 Thread Björn Töpel
On Tue, 30 Jul 2019 at 19:43, Kevin Laatz wrote: > > This patch adds a 'flags' field to the umem_config and umem_reg structs. > This will allow for more options to be added for configuring umems. > > The first use for the flags field is to add a flag for unaligned chunks > mode. These flags can ei

[PATCH bpf-next v4 03/11] libbpf: add flags to umem config

2019-07-30 Thread Kevin Laatz
This patch adds a 'flags' field to the umem_config and umem_reg structs. This will allow for more options to be added for configuring umems. The first use for the flags field is to add a flag for unaligned chunks mode. These flags can either be user-provided or filled with a default. Signed-off-b