Re: [RFC PATCH bpf-next 12/12] i40e: implement Tx zero-copy

2018-05-17 Thread Björn Töpel
2018-05-17 23:31 GMT+02:00 Jesper Dangaard Brouer : > > On Tue, 15 May 2018 21:06:15 +0200 Björn Töpel wrote: > >> From: Magnus Karlsson >> >> Here, the zero-copy ndo is implemented. As a shortcut, the existing >> XDP Tx rings are used for zero-copy. This means that and XDP program >> cannot redi

Re: [RFC PATCH bpf-next 12/12] i40e: implement Tx zero-copy

2018-05-17 Thread Jesper Dangaard Brouer
On Tue, 15 May 2018 21:06:15 +0200 Björn Töpel wrote: > From: Magnus Karlsson > > Here, the zero-copy ndo is implemented. As a shortcut, the existing > XDP Tx rings are used for zero-copy. This means that and XDP program > cannot redirect to an AF_XDP enabled XDP Tx ring. This "shortcut" is n

Re: [RFC PATCH bpf-next 12/12] i40e: implement Tx zero-copy

2018-05-16 Thread Jesper Dangaard Brouer
On Wed, 16 May 2018 17:38:12 +0200 Magnus Karlsson wrote: > On Wed, May 16, 2018 at 4:38 PM, Magnus Karlsson > wrote: > > On Wed, May 16, 2018 at 4:28 PM, Jesper Dangaard Brouer > > wrote: > >> On Tue, 15 May 2018 21:06:15 +0200 > >> Björn Töpel wrote: > >> > >>> From: Magnus Karlsson > >

Re: [RFC PATCH bpf-next 12/12] i40e: implement Tx zero-copy

2018-05-16 Thread Magnus Karlsson
On Wed, May 16, 2018 at 4:38 PM, Magnus Karlsson wrote: > On Wed, May 16, 2018 at 4:28 PM, Jesper Dangaard Brouer > wrote: >> On Tue, 15 May 2018 21:06:15 +0200 >> Björn Töpel wrote: >> >>> From: Magnus Karlsson >>> >>> Here, the zero-copy ndo is implemented. As a shortcut, the existing >>> XDP

Re: [RFC PATCH bpf-next 12/12] i40e: implement Tx zero-copy

2018-05-16 Thread Magnus Karlsson
On Wed, May 16, 2018 at 4:28 PM, Jesper Dangaard Brouer wrote: > On Tue, 15 May 2018 21:06:15 +0200 > Björn Töpel wrote: > >> From: Magnus Karlsson >> >> Here, the zero-copy ndo is implemented. As a shortcut, the existing >> XDP Tx rings are used for zero-copy. This means that and XDP program >>

Re: [RFC PATCH bpf-next 12/12] i40e: implement Tx zero-copy

2018-05-16 Thread Jesper Dangaard Brouer
On Tue, 15 May 2018 21:06:15 +0200 Björn Töpel wrote: > From: Magnus Karlsson > > Here, the zero-copy ndo is implemented. As a shortcut, the existing > XDP Tx rings are used for zero-copy. This means that and XDP program > cannot redirect to an AF_XDP enabled XDP Tx ring. I've changed i40e1 to

[RFC PATCH bpf-next 12/12] i40e: implement Tx zero-copy

2018-05-15 Thread Björn Töpel
From: Magnus Karlsson Here, the zero-copy ndo is implemented. As a shortcut, the existing XDP Tx rings are used for zero-copy. This means that and XDP program cannot redirect to an AF_XDP enabled XDP Tx ring. Signed-off-by: Magnus Karlsson --- drivers/net/ethernet/intel/i40e/i40e_main.c | 7