Skip to content

mvneta: SGMII-based in-band link state signaling

Stas Sergeev lkml netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 3 repliesIn review
  2. v11 patch 5 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2add fixed_phy_update_state() - update state of fixed_phydrivers/net/phy/fixed_phy.c include/linux/phy_fixed.h+38 -02 replies
2/2mvneta: implement SGMII-based in-band link state signalingdrivers/net/ethernet/marvell/mvneta.c+95 -110 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [PATCH v3 0/2] mvneta: SGMII-based in-band link state signaling

Hello.

Currently the fixed-link DT binding is pre-configured and cannot be changed in run-time. This means the cable unplug events are not being detected, and the link parameters can't be negotiated.

The following patches are needed when mvneta is used in fixed-link mode (without MDIO).
They add an API to fixed_phy that allows to update status, and use that API in the mvneta driver when parsing the SGMII in-band status.

There is also another implementation that doesn't add any API and does everything in mvneta driver locally:
https://lkml.org/lkml/2015/3/31/327
I'll let people decide which approach is better.
No strong opinion on my side.