Re: [PATCH RFC] xdp: Support zero-copy XDP_TX from AF_XDP sockets.

2019-04-22 Thread Björn Töpel
On Thu, 18 Apr 2019 at 19:55, Jonathan Lemon wrote: > > On 18 Apr 2019, at 3:10, Björn Töpel wrote: > > > On Wed, 17 Apr 2019 at 21:58, Jonathan Lemon > > wrote: > >> > >> When the XDP program attached to a zero-copy AF_XDP socket returns > >> XDP_TX, > >> queue the umem frame on the XDP TX ring,

Re: [PATCH RFC] xdp: Support zero-copy XDP_TX from AF_XDP sockets.

2019-04-18 Thread Jonathan Lemon
On 18 Apr 2019, at 3:10, Björn Töpel wrote: On Wed, 17 Apr 2019 at 21:58, Jonathan Lemon wrote: When the XDP program attached to a zero-copy AF_XDP socket returns XDP_TX, queue the umem frame on the XDP TX ring, and arrange for it to be released via the ZCA free routine, which should place

Re: [PATCH RFC] xdp: Support zero-copy XDP_TX from AF_XDP sockets.

2019-04-18 Thread Björn Töpel
On Wed, 17 Apr 2019 at 21:58, Jonathan Lemon wrote: > > When the XDP program attached to a zero-copy AF_XDP socket returns XDP_TX, > queue the umem frame on the XDP TX ring, and arrange for it to be released > via the ZCA free routine, which should place it back onto the reuseq. > There are a bun

[PATCH RFC] xdp: Support zero-copy XDP_TX from AF_XDP sockets.

2019-04-17 Thread Jonathan Lemon
When the XDP program attached to a zero-copy AF_XDP socket returns XDP_TX, queue the umem frame on the XDP TX ring, and arrange for it to be released via the ZCA free routine, which should place it back onto the reuseq. Signed-off-by: Jonathan Lemon --- drivers/net/ethernet/intel/i40e/i40e_txrx.