Re: [PATCH v2 net-next 1/8] dpaa2-eth: Add basic XDP support

2018-11-28 Thread David Ahern
On 11/26/18 9:27 AM, Ioana Ciocoi Radulescu wrote: > We keep one XDP program reference per channel. The only actions > supported for now are XDP_DROP and XDP_PASS. > > Until now we didn't enforce a maximum size for Rx frames based > on MTU value. Change that, since for XDP mode we must ensure no >

RE: [PATCH v2 net-next 1/8] dpaa2-eth: Add basic XDP support

2018-11-27 Thread Camelia Alexandra Groza
> -Original Message- > From: Ioana Ciocoi Radulescu > Sent: Monday, November 26, 2018 18:27 > To: netdev@vger.kernel.org; da...@davemloft.net > Cc: Ioana Ciornei ; dsah...@gmail.com; Camelia > Alexandra Groza > Subject: [PATCH v2 net-next 1/8] dpaa2-eth: Add basic XDP

[PATCH v2 net-next 1/8] dpaa2-eth: Add basic XDP support

2018-11-26 Thread Ioana Ciocoi Radulescu
We keep one XDP program reference per channel. The only actions supported for now are XDP_DROP and XDP_PASS. Until now we didn't enforce a maximum size for Rx frames based on MTU value. Change that, since for XDP mode we must ensure no scatter-gather frames can be received. Signed-off-by: Ioana R