Thread (10 messages) 10 messages, 4 authors, 2017-08-18

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

flat view

From: John Fastabend <john.fastabend@gmail.com>
Date: 2017-08-17 18:32:51

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 <redacted>
---
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 <john.fastabend@gmail.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help