2014-07-18 12:53:27

by Neil Armstrong

[permalink] [raw]
Subject: [PATCH v2 0/2] net: macb: Handle RX errors

On our hardware, the MACB connected to a heavilly used AXI bus, fails to
correctly write RX descriptors.

This leds to RX ring errors that can be managed.

These patchs add RX error management according to the Cadence MACB User Guide.

The first patch separates the RX and TX rings init in order to reuse the RX ring init.

v2: fix multiple assignments in first patch, fix checkpatch errors in second patch.

Neil Armstrong (2):
net: macb: Separate rx and tx ring init function
net: macb: Handle errors in RX path

drivers/net/ethernet/cadence/macb.c | 90 +++++++++++++++++++++++++++++-----
drivers/net/ethernet/cadence/macb.h | 3 +-
2 files changed, 78 insertions(+), 15 deletions(-)