RE: [PATCH net-next v4 4/7] dpaa_eth: add XDP_TX support

2020-11-27 Thread Camelia Alexandra Groza
> > To: Camelia Alexandra Groza > > > Cc: k...@kernel.org; bro...@redhat.com; sa...@kernel.org; > > > da...@davemloft.net; Madalin Bucur (OSS) > > > ; Ioana Ciornei ; > > > netdev@vger.kernel.org > > > Subject: Re: [PATCH net-next v4 4/7] dpaa

Re: [PATCH net-next v4 4/7] dpaa_eth: add XDP_TX support

2020-11-27 Thread Maciej Fijalkowski
l.org; > > da...@davemloft.net; Madalin Bucur (OSS) > > ; Ioana Ciornei ; > > netdev@vger.kernel.org > > Subject: Re: [PATCH net-next v4 4/7] dpaa_eth: add XDP_TX support > > > > On Mon, Nov 23, 2020 at 07:36:22PM +0200, Camelia Groza wrote: > > > Us

RE: [PATCH net-next v4 4/7] dpaa_eth: add XDP_TX support

2020-11-25 Thread Camelia Alexandra Groza
rg > Subject: Re: [PATCH net-next v4 4/7] dpaa_eth: add XDP_TX support > > On Mon, Nov 23, 2020 at 07:36:22PM +0200, Camelia Groza wrote: > > Use an xdp_frame structure for managing the frame. Store a backpointer > to > > the structure at the start of the buffer befo

Re: [PATCH net-next v4 4/7] dpaa_eth: add XDP_TX support

2020-11-24 Thread Maciej Fijalkowski
On Mon, Nov 23, 2020 at 07:36:22PM +0200, Camelia Groza wrote: > Use an xdp_frame structure for managing the frame. Store a backpointer to > the structure at the start of the buffer before enqueueing for cleanup > on TX confirmation. Reserve DPAA_TX_PRIV_DATA_SIZE bytes from the frame > size shared

[PATCH net-next v4 4/7] dpaa_eth: add XDP_TX support

2020-11-23 Thread Camelia Groza
Use an xdp_frame structure for managing the frame. Store a backpointer to the structure at the start of the buffer before enqueueing for cleanup on TX confirmation. Reserve DPAA_TX_PRIV_DATA_SIZE bytes from the frame size shared with the XDP program for this purpose. Use the XDP API for freeing the