Skip to content

net: macb: Handle RX errors

Neil Armstrong lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 1 replyIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2net: macb: Separate rx and tx ring init functiondrivers/net/ethernet/cadence/macb.c drivers/net/ethernet/cadence/macb.h+29 -100 replies
2/2net: macb: Handle errors in RX pathdrivers/net/ethernet/cadence/macb.c+49 -51 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [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(-)