Skip to contentSkip to conversation

net: macb: Handle RX errors

PATCH Superseded Neil Armstrong 1 participant 1 message Jul 18, 2014

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

cover 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.

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 |   88 +++++++++++++++++++++++++++++------
 drivers/net/ethernet/cadence/macb.h |    3 +-
 2 files changed, 76 insertions(+), 15 deletions(-)