Netdev List
 help / color / mirror / Atom feed
* [PATCH net-next 0/5] net: dsa: mxl862xx: SerDes ports and stats
@ 2026-05-19 17:38 Daniel Golle
  2026-05-19 17:38 ` [PATCH net-next 1/5] net: dsa: mxl862xx: store firmware version for feature gating Daniel Golle
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Daniel Golle @ 2026-05-19 17:38 UTC (permalink / raw)
  To: Daniel Golle, Andrew Lunn, Vladimir Oltean, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni, Russell King,
	linux-kernel, netdev

Add support for the two SerDes PCS interfaces of the MxL862xx switch
ICs, which can both either be used to connect PHYs or SFP cages, or as
CPU port(s). 1000Base-X, 2500Base-X, 10GBase-R, 10GBase-KR, SGMII,
QSGMII and USXGMII (single 10G or quad 2.5G) are supported.

The firmware only added the API to directly control the PCS as of
version 1.0.84, so the PCS features are gated behind a version check.

As the driver is growing do some refactoring to break out the phylink
parts into mxl862xx-phylink.h.

Also add custom ethtool stats for the various diagnostic values related
to the SerDes interfaces which can be read from the firmware.

Daniel Golle (5):
  net: dsa: mxl862xx: store firmware version for feature gating
  net: dsa: mxl862xx: move phylink stubs to mxl862xx-phylink.c
  net: dsa: mxl862xx: move API macros to mxl862xx-host.h
  net: dsa: mxl862xx: add support for SerDes ports
  net: dsa: mxl862xx: add SerDes ethtool statistics

 drivers/net/dsa/mxl862xx/Makefile           |   2 +-
 drivers/net/dsa/mxl862xx/mxl862xx-api.h     | 392 +++++++++++++++++
 drivers/net/dsa/mxl862xx/mxl862xx-cmd.h     |  11 +
 drivers/net/dsa/mxl862xx/mxl862xx-host.h    |   8 +
 drivers/net/dsa/mxl862xx/mxl862xx-phylink.c | 446 ++++++++++++++++++++
 drivers/net/dsa/mxl862xx/mxl862xx-phylink.h |  27 ++
 drivers/net/dsa/mxl862xx/mxl862xx.c         |  60 +--
 drivers/net/dsa/mxl862xx/mxl862xx.h         |  58 +++
 8 files changed, 957 insertions(+), 47 deletions(-)
 create mode 100644 drivers/net/dsa/mxl862xx/mxl862xx-phylink.c
 create mode 100644 drivers/net/dsa/mxl862xx/mxl862xx-phylink.h

-- 
2.54.0

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-05-19 22:54 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-19 17:38 [PATCH net-next 0/5] net: dsa: mxl862xx: SerDes ports and stats Daniel Golle
2026-05-19 17:38 ` [PATCH net-next 1/5] net: dsa: mxl862xx: store firmware version for feature gating Daniel Golle
2026-05-19 17:38 ` [PATCH net-next 2/5] net: dsa: mxl862xx: move phylink stubs to mxl862xx-phylink.c Daniel Golle
2026-05-19 17:38 ` [PATCH net-next 3/5] net: dsa: mxl862xx: move API macros to mxl862xx-host.h Daniel Golle
2026-05-19 17:39 ` [PATCH net-next 4/5] net: dsa: mxl862xx: add support for SerDes ports Daniel Golle
2026-05-19 17:39 ` [PATCH net-next 5/5] net: dsa: mxl862xx: add SerDes ethtool statistics Daniel Golle
2026-05-19 18:40   ` Vladimir Oltean
2026-05-19 22:54     ` Daniel Golle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox