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

2020-11-13 Thread Camelia Alexandra Groza
> -Original Message- > From: Saeed Mahameed > Sent: Thursday, November 12, 2020 22:56 > To: Camelia Alexandra Groza ; k...@kernel.org; > bro...@redhat.com; da...@davemloft.net > Cc: Madalin Bucur (OSS) ; Ioana Ciornei > ; netdev@vger.kernel.org > Subject: Re: [PATC

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

2020-11-12 Thread Saeed Mahameed
On Thu, 2020-11-12 at 20:10 +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. Use the > XDP > API for freeing the buffer when it returns to the driver on the TX > confirmation path.