Home
last modified time | relevance | path

Searched hist:"672 f9a21989e56c8233d1d8daab3e5eecf76c59e" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc.cdiff 672f9a21989e56c8233d1d8daab3e5eecf76c59e Fri Apr 16 16:22:18 CDT 2021 Vladimir Oltean <vladimir.oltean@nxp.com> net: enetc: recycle buffers for frames with RX errors

When receiving a frame with errors, currently we do nothing with it (we
don't construct an skb or an xdp_buff), we just exit the NAPI poll loop.

Let's put the buffer back into the RX ring (similar to XDP_DROP).

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>