lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240701-b4-dp83869-sfp-v1-0-a71d6d0ad5f8@bootlin.com>
Date: Mon, 01 Jul 2024 10:51:02 +0200
From: Romain Gantois <romain.gantois@...tlin.com>
To: Andrew Lunn <andrew@...n.ch>, Heiner Kallweit <hkallweit1@...il.com>, 
 Russell King <linux@...linux.org.uk>, 
 "David S. Miller" <davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>, 
 Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>
Cc: Thomas Petazzoni <thomas.petazzoni@...tlin.com>, netdev@...r.kernel.org, 
 linux-kernel@...r.kernel.org, Romain Gantois <romain.gantois@...tlin.com>
Subject: [PATCH net-next 0/6] net: phy: dp83869: Add support for downstream
 SFP cages

Hello everyone,

This is version one of my series that adds support for downstream SFP cages
to the DP83869 PHY driver.

The DP83869HM PHY transceiver supports a variety of different conversion
modes, including RGMII to SGMII and RGMII to 1000Base-X. With these last
two modes, the DP83869 can act as a bridge between an Ethernet MAC and an SFP
cage in one of the following two configurations:

RGMII-SGMII bridge:

+-------+       +------------+        +-----------+--------------------+
|       |RGMII  |            | SGMII  |                                |
|  MAC  |<----->| DP83869HM  |<------>| SFP cage with SGMII SFP module |
|       |       |            |        |                                |
+-------+       +------------+        +-----------+--------------------+

RGMII-1000Base-X converter:

+-------+        +------------+1000Base-X+-----------+--------------------+
|       |RGMII   |            |          |                                |
|  MAC  |<------>| DP83869HM  |<-------->| SFP cage with DAC/fiber module |
|       |        |            |          |                                |
+-------+        +------------+          +-----------+--------------------+

The RGMII-SGMII and RGMII-1000Base-X are currently supported in the PHY
driver, but there are some flaws that prevent proper operation with
downstream SFP modules. Additionally, the sfp_upstream_ops callbacks which
are needed to interact with the downstream SFP modules are not yet
implemented.

This series adds full support for both SGMII and DAC SFP modules by
implementing these sfp_upstream_ops callbacks and fixing relevant issues in
the existing DP83869 operational modes.

Best Regards,

Romain

Signed-off-by: Romain Gantois <romain.gantois@...tlin.com>
---
Romain Gantois (6):
      net: phy: dp83869: Disable autonegotiation in RGMII/1000Base-X mode
      net: phy: dp83869: Perform software restart after configuring op mode
      net: phy: dp83869: Ensure that the FORCE_LINK_GOOD bit is cleared
      net: phy: dp83869: Support 1000Base-X and 100Base-FX SFP modules
      net: phy: dp83869: Support SGMII SFP modules
      net: phy: dp83869: Fix link up reporting in SGMII bridge mode

 drivers/net/phy/dp83869.c | 269 +++++++++++++++++++++++++++++++++++++++-------
 1 file changed, 233 insertions(+), 36 deletions(-)
---
base-commit: 30972a4ea092bacb9784fe251327571be6a99f9c
change-id: 20240628-b4-dp83869-sfp-8ea96b3f438c

Best regards,
-- 
Romain Gantois <romain.gantois@...tlin.com>


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ