[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <86ccd3ef-6762-155e-877c-f29ce613cd4d@gmail.com>
Date: Wed, 28 Nov 2018 09:11:26 -0700
From: David Ahern <dsahern@...il.com>
To: Ioana Ciocoi Radulescu <ruxandra.radulescu@....com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"davem@...emloft.net" <davem@...emloft.net>
Cc: Ioana Ciornei <ioana.ciornei@....com>,
Camelia Alexandra Groza <camelia.groza@....com>
Subject: Re: [PATCH v2 net-next 1/8] dpaa2-eth: Add basic XDP support
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
> scatter-gather frames can be received.
>
> Signed-off-by: Ioana Radulescu <ruxandra.radulescu@....com>
> ---
> v2: - xdp packets count towards the rx packets and bytes counters
> - add warning message with the maximum supported MTU value for XDP
>
> drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c | 189 ++++++++++++++++++++++-
> drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h | 6 +
> 2 files changed, 194 insertions(+), 1 deletion(-)
>
Reviewed-by: David Ahern <dsahern@...il.com>
Powered by blists - more mailing lists