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.radule...@nxp.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 <dsah...@gmail.com>


Reply via email to