Subject: Re: [PATCH 1/2] ixgbe: change ndo_xdp_xmit return code on xmit errors

From: John Fastabend <[email-masked]>
Date: Thu, 17 Aug 2017 11:32:42 -0700

On 08/17/2017 09:22 AM, Jesper Dangaard Brouer wrote:
> Use errno -ENOSPC ("No space left on device") when the XDP xmit
> have no space left on the TX ring buffer, instead of -ENOMEM.
> 
> Signed-off-by: Jesper Dangaard Brouer <[email-masked]>
> ---
>

Seems like an improvement to me. You could also potentially
distinguish between DMA mapping errors and descriptor overrun
but likely not needed.

Acked-by: John Fastabend <[email-masked]>