mbox series

[net-next,v2,0/3] net: phy: marvell-88x2222: a couple of improvements

Message ID cover.1618347034.git.i.bornyakov@metrotek.ru
Headers show
Series net: phy: marvell-88x2222: a couple of improvements | expand

Message

Ivan Bornyakov April 13, 2021, 8:54 p.m. UTC
First, there are some SFP modules that only uses RX_LOS for link
indication. Add check that link is operational before actual read of
line-side status.

Second, it is invalid to set 10G speed without autonegotiation,
according to phy_ethtool_ksettings_set(). Implement switching between
10GBase-R and 1000Base-X/SGMII if autonegotiation can't complete but
there is signal in line.

Changelog:
  v1 -> v2:
    * make checking that link is operational more friendly for
      trancievers without SFP cages.
    * split swapping 1G/10G modes into non-functional and functional
      commits for the sake of easier review.

Ivan Bornyakov (3):
  net: phy: marvell-88x2222: check that link is operational
  net: phy: marvell-88x2222: move read_status after config_aneg
  net: phy: marvell-88x2222: swap 1G/10G modes on autoneg

 drivers/net/phy/marvell-88x2222.c | 314 ++++++++++++++++++++----------
 1 file changed, 209 insertions(+), 105 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org April 14, 2021, 8 p.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (refs/heads/master):

On Tue, 13 Apr 2021 23:54:49 +0300 you wrote:
> First, there are some SFP modules that only uses RX_LOS for link

> indication. Add check that link is operational before actual read of

> line-side status.

> 

> Second, it is invalid to set 10G speed without autonegotiation,

> according to phy_ethtool_ksettings_set(). Implement switching between

> 10GBase-R and 1000Base-X/SGMII if autonegotiation can't complete but

> there is signal in line.

> 

> [...]


Here is the summary with links:
  - [net-next,v2,1/3] net: phy: marvell-88x2222: check that link is operational
    https://git.kernel.org/netdev/net-next/c/58581478a734
  - [net-next,v2,2/3] net: phy: marvell-88x2222: move read_status after config_aneg
    https://git.kernel.org/netdev/net-next/c/473960a7b443
  - [net-next,v2,3/3] net: phy: marvell-88x2222: swap 1G/10G modes on autoneg
    https://git.kernel.org/netdev/net-next/c/d7029f55cc46

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html