Re: [PATCH bpf-next 10/11] i40e: implement AF_XDP zero-copy support for Tx

2018-06-05 Thread Björn Töpel
Den tis 5 juni 2018 kl 14:44 skrev Jesper Dangaard Brouer : > > On Mon, 4 Jun 2018 14:06:00 +0200 > Björn Töpel wrote: > > > Here, ndo_xsk_async_xmit is implemented. As a shortcut, the existing > > XDP Tx rings are used for zero-copy. This will result in other devices > > doing XDP_REDIRECT to an

Re: [PATCH bpf-next 10/11] i40e: implement AF_XDP zero-copy support for Tx

2018-06-05 Thread Jesper Dangaard Brouer
On Mon, 4 Jun 2018 14:06:00 +0200 Björn Töpel wrote: > Here, ndo_xsk_async_xmit is implemented. As a shortcut, the existing > XDP Tx rings are used for zero-copy. This will result in other devices > doing XDP_REDIRECT to an AF_XDP enabled queue will have its packets > dropped. This behavior is

Re: [PATCH bpf-next 10/11] i40e: implement AF_XDP zero-copy support for Tx

2018-06-04 Thread Alexander Duyck
On Mon, Jun 4, 2018 at 5:06 AM, Björn Töpel wrote: > From: Magnus Karlsson > > Here, ndo_xsk_async_xmit is implemented. As a shortcut, the existing > XDP Tx rings are used for zero-copy. This will result in other devices > doing XDP_REDIRECT to an AF_XDP enabled queue will have its packets > drop

[PATCH bpf-next 10/11] i40e: implement AF_XDP zero-copy support for Tx

2018-06-04 Thread Björn Töpel
From: Magnus Karlsson Here, ndo_xsk_async_xmit is implemented. As a shortcut, the existing XDP Tx rings are used for zero-copy. This will result in other devices doing XDP_REDIRECT to an AF_XDP enabled queue will have its packets dropped. Signed-off-by: Magnus Karlsson --- drivers/net/ethernet