public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/4] enetc: Migrate to PHYLINK and PCS_LYNX
@ 2020-10-07  9:48 Claudiu Manoil
  2020-10-07  9:48 ` [PATCH net-next v2 1/4] enetc: Clean up MAC and link configuration Claudiu Manoil
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Claudiu Manoil @ 2020-10-07  9:48 UTC (permalink / raw)
  To: netdev
  Cc: David S . Miller, Jakub Kicinski, Russell King, Vladimir Oltean,
	Ioana Ciornei

Transitioning the enetc driver from phylib to phylink.
Offloading the serdes configuration to the PCS_LYNX
module is a mandatory part of this transition. Aiming
for a cleaner, more maintainable design, and better
code reuse.
The first 2 patches are clean up prerequisites.

Tested on a p1028rdb board.

v2: validate() explicitly rejects now all interface modes not
supported by the driver instead of relying on the device tree
to provide only supported interfaces, and dropped redundant
activation of pcs_poll (addressing Ioana's findings)

Claudiu Manoil (4):
  enetc: Clean up MAC and link configuration
  enetc: Clean up serdes configuration
  arm64: dts: fsl-ls1028a-rdb: Specify in-band mode for ENETC port 0
  enetc: Migrate to PHYLINK and PCS_LYNX

 .../boot/dts/freescale/fsl-ls1028a-rdb.dts    |   1 +
 drivers/net/ethernet/freescale/enetc/Kconfig  |   5 +-
 drivers/net/ethernet/freescale/enetc/enetc.c  |  53 ++-
 drivers/net/ethernet/freescale/enetc/enetc.h  |   9 +-
 .../ethernet/freescale/enetc/enetc_ethtool.c  |  26 +-
 .../net/ethernet/freescale/enetc/enetc_pf.c   | 335 ++++++++++--------
 .../net/ethernet/freescale/enetc/enetc_pf.h   |   8 +-
 .../net/ethernet/freescale/enetc/enetc_qos.c  |   9 +-
 8 files changed, 243 insertions(+), 203 deletions(-)

-- 
2.17.1


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

end of thread, other threads:[~2020-10-11 18:08 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-07  9:48 [PATCH net-next v2 0/4] enetc: Migrate to PHYLINK and PCS_LYNX Claudiu Manoil
2020-10-07  9:48 ` [PATCH net-next v2 1/4] enetc: Clean up MAC and link configuration Claudiu Manoil
2020-10-07 10:55   ` Ioana Ciornei
2020-10-07  9:48 ` [PATCH net-next v2 2/4] enetc: Clean up serdes configuration Claudiu Manoil
2020-10-07 10:56   ` Ioana Ciornei
2020-10-07  9:48 ` [PATCH net-next v2 3/4] arm64: dts: fsl-ls1028a-rdb: Specify in-band mode for ENETC port 0 Claudiu Manoil
2020-10-07 10:31   ` Vladimir Oltean
2020-10-07  9:48 ` [PATCH net-next v2 4/4] enetc: Migrate to PHYLINK and PCS_LYNX Claudiu Manoil
2020-10-07 10:54   ` Ioana Ciornei
2020-10-11 18:08 ` [PATCH net-next v2 0/4] " Jakub Kicinski

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