net: macb: Handle RX errors
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest2 patches 1 replyIn review
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | net: macb: Separate rx and tx ring init functiondrivers/ drivers/ | +29 | 0 replies | |
| 2/2 | net: macb: Handle errors in RX pathdrivers/ | +49 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
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(-)