Re: [PATCH bpf-next v4 0/2] libbpf: adding AF_XDP support

2019-02-18 Thread Magnus Karlsson
On Mon, Feb 18, 2019 at 10:38 AM Daniel Borkmann wrote: > > On 02/18/2019 09:20 AM, Magnus Karlsson wrote: > > On Fri, Feb 15, 2019 at 5:48 PM Daniel Borkmann > > wrote: > >> > >> On 02/13/2019 12:55 PM, Jesper Dangaard Brouer wrote: > >>> On Wed, 13 Feb 2019 12:32:47 +0100 > >>> Magnus Karlsson

Re: [PATCH bpf-next v4 0/2] libbpf: adding AF_XDP support

2019-02-18 Thread Daniel Borkmann
On 02/18/2019 09:20 AM, Magnus Karlsson wrote: > On Fri, Feb 15, 2019 at 5:48 PM Daniel Borkmann wrote: >> >> On 02/13/2019 12:55 PM, Jesper Dangaard Brouer wrote: >>> On Wed, 13 Feb 2019 12:32:47 +0100 >>> Magnus Karlsson wrote: On Mon, Feb 11, 2019 at 9:44 PM Jonathan Lemon wrote: >

Re: [PATCH bpf-next v4 0/2] libbpf: adding AF_XDP support

2019-02-18 Thread Magnus Karlsson
On Fri, Feb 15, 2019 at 5:48 PM Daniel Borkmann wrote: > > On 02/13/2019 12:55 PM, Jesper Dangaard Brouer wrote: > > On Wed, 13 Feb 2019 12:32:47 +0100 > > Magnus Karlsson wrote: > >> On Mon, Feb 11, 2019 at 9:44 PM Jonathan Lemon > >> wrote: > >>> On 8 Feb 2019, at 5:05, Magnus Karlsson wrote:

Re: [PATCH bpf-next v4 0/2] libbpf: adding AF_XDP support

2019-02-15 Thread Daniel Borkmann
On 02/13/2019 12:55 PM, Jesper Dangaard Brouer wrote: > On Wed, 13 Feb 2019 12:32:47 +0100 > Magnus Karlsson wrote: >> On Mon, Feb 11, 2019 at 9:44 PM Jonathan Lemon >> wrote: >>> On 8 Feb 2019, at 5:05, Magnus Karlsson wrote: >>> This patch proposes to add AF_XDP support to libbpf. The m

Re: [PATCH bpf-next v4 0/2] libbpf: adding AF_XDP support

2019-02-14 Thread Magnus Karlsson
On Wed, Feb 13, 2019 at 9:49 PM Jonathan Lemon wrote: > > On 13 Feb 2019, at 3:32, Magnus Karlsson wrote: > > > On Mon, Feb 11, 2019 at 9:44 PM Jonathan Lemon > > wrote: > >> > >> On 8 Feb 2019, at 5:05, Magnus Karlsson wrote: > >> > >>> This patch proposes to add AF_XDP support to libbpf. The ma

Re: [PATCH bpf-next v4 0/2] libbpf: adding AF_XDP support

2019-02-13 Thread Jonathan Lemon
On 13 Feb 2019, at 3:32, Magnus Karlsson wrote: On Mon, Feb 11, 2019 at 9:44 PM Jonathan Lemon wrote: On 8 Feb 2019, at 5:05, Magnus Karlsson wrote: This patch proposes to add AF_XDP support to libbpf. The main reason for this is to facilitate writing applications that use AF_XDP by offerin

Re: [PATCH bpf-next v4 0/2] libbpf: adding AF_XDP support

2019-02-13 Thread Jesper Dangaard Brouer
On Wed, 13 Feb 2019 12:32:47 +0100 Magnus Karlsson wrote: > On Mon, Feb 11, 2019 at 9:44 PM Jonathan Lemon > wrote: > > > > On 8 Feb 2019, at 5:05, Magnus Karlsson wrote: > > > > > This patch proposes to add AF_XDP support to libbpf. The main reason > > > for this is to facilitate writing app

Re: [PATCH bpf-next v4 0/2] libbpf: adding AF_XDP support

2019-02-13 Thread Magnus Karlsson
On Mon, Feb 11, 2019 at 9:44 PM Jonathan Lemon wrote: > > On 8 Feb 2019, at 5:05, Magnus Karlsson wrote: > > > This patch proposes to add AF_XDP support to libbpf. The main reason > > for this is to facilitate writing applications that use AF_XDP by > > offering higher-level APIs that hide many of

Re: [PATCH bpf-next v4 0/2] libbpf: adding AF_XDP support

2019-02-11 Thread Jonathan Lemon
On 8 Feb 2019, at 5:05, Magnus Karlsson wrote: > This patch proposes to add AF_XDP support to libbpf. The main reason > for this is to facilitate writing applications that use AF_XDP by > offering higher-level APIs that hide many of the details of the AF_XDP > uapi. This is in the same vein as lib

Re: [PATCH bpf-next v4 0/2] libbpf: adding AF_XDP support

2019-02-10 Thread Magnus Karlsson
On Mon, Feb 11, 2019 at 7:34 AM Jean-Mickael Guerin wrote: > > Hi Magnus, > > > * In a future release, I am planning on adding a higher level data > > plane interface too. This will be based around recvmsg and sendmsg > > with the use of struct iovec for batching, without the user having > >

Re: [PATCH bpf-next v4 0/2] libbpf: adding AF_XDP support

2019-02-10 Thread Jean-Mickael Guerin
Hi Magnus, > * In a future release, I am planning on adding a higher level data > plane interface too. This will be based around recvmsg and sendmsg > with the use of struct iovec for batching, without the user having > to know anything about the underlying four rings of an AF_XDP > socket

[PATCH bpf-next v4 0/2] libbpf: adding AF_XDP support

2019-02-08 Thread Magnus Karlsson
This patch proposes to add AF_XDP support to libbpf. The main reason for this is to facilitate writing applications that use AF_XDP by offering higher-level APIs that hide many of the details of the AF_XDP uapi. This is in the same vein as libbpf facilitates XDP adoption by offering easy-to-use hig