Skip to content

net: dsa: mxl862xx: MDIO bus integrity and optimization

Daniel Golle lkml netdev 2 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyApplied 2/2
  2. v12 patches 5 repliesSuperseded

Patches in v2 All 2 applied

#Subject and filesSizeRepliesApplied
1/2net: dsa: mxl862xx: add CRC for MDIO communicationdrivers/net/dsa/mxl862xx/Kconfig drivers/net/dsa/mxl862xx/mxl862xx-host.c drivers/net/dsa/mxl862xx/mxl862xx-host.h +2 more+296 -651 replyApplied
2/2net: dsa: mxl862xx: use RST_DATA to skip writing zero wordsdrivers/net/dsa/mxl862xx/mxl862xx-host.c+38 -00 repliesApplied

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchAndrew Lunn
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH net-next v2 0/2] net: dsa: mxl862xx: MDIO bus integrity and optimization

The MxL862xx firmware offers opt-in CRC validation on the MDIO/MMD command interface to guard against bit errors on the bus. The driver has not used this until now.

This series enables CRC protection on both the command registers (CRC-6) and data payloads (CRC-16), and reduces MDIO bus traffic by bulk-zeroing registers instead of writing zero-valued words individually.

Changes since initial submittions:
* trigger worker which takes down all ports in case of a CRC error

Daniel Golle (2):
net: dsa: mxl862xx: add CRC for MDIO communication
net: dsa: mxl862xx: use RST_DATA to skip writing zero words

 drivers/net/dsa/mxl862xx/Kconfig         |   1 +
 drivers/net/dsa/mxl862xx/mxl862xx-host.c | 377 +++++++++++++++++++----
 drivers/net/dsa/mxl862xx/mxl862xx-host.h |   2 +
 drivers/net/dsa/mxl862xx/mxl862xx.c      |  11 +
 drivers/net/dsa/mxl862xx/mxl862xx.h      |   2 +
 5 files changed, 331 insertions(+), 62 deletions(-)
Signature · 1 line
2.53.0