mbox series

[net-next,v3,0/3] Add ALCD Support to Cable Testing Interface

Message ID 20240822120703.1393130-1-o.rempel@pengutronix.de (mailing list archive)
Headers show
Series Add ALCD Support to Cable Testing Interface | expand

Message

Oleksij Rempel Aug. 22, 2024, 12:07 p.m. UTC
Hi all,

This patch series introduces support for Active Link Cable Diagnostics
(ALCD) in the ethtool cable testing interface and the DP83TD510 PHY
driver.

Why ALCD?
On a 10BaseT1L interface, TDR (Time Domain Reflectometry) is not
possible if the link partner is active - TDR will fail in these cases
because it requires interrupting the link. Since the link is active, we
already know the cable is functioning, so instead of using TDR, we can
use ALCD.

ALCD lets us measure cable length without disrupting the active link,
which is crucial in environments where network uptime is important. It
provides a way to gather diagnostic data without the need for downtime.

What's in this series:
- Extended the ethtool cable testing interface to specify the source of
  diagnostic results (TDR or ALCD).
- Updated the DP83TD510 PHY driver to use ALCD when the link is
  active, ensuring we can still get cable length info without dropping the
  connection.

Changes are described in separate patches.

Thanks,
Oleksij

Oleksij Rempel (3):
  ethtool: Extend cable testing interface with result source information
  ethtool: Add support for specifying information source in cable test
    results
  phy: dp83td510: Utilize ALCD for cable length measurement when link is
    active

 Documentation/netlink/specs/ethtool.yaml     |   6 +
 Documentation/networking/ethtool-netlink.rst |   5 +
 drivers/net/phy/dp83td510.c                  | 119 ++++++++++++++++++-
 include/linux/ethtool_netlink.h              |  29 ++++-
 include/uapi/linux/ethtool_netlink.h         |  11 ++
 net/ethtool/cabletest.c                      |  19 ++-
 6 files changed, 173 insertions(+), 16 deletions(-)

--
2.39.2

Comments

patchwork-bot+netdevbpf@kernel.org Aug. 26, 2024, 4:40 p.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Thu, 22 Aug 2024 14:07:00 +0200 you wrote:
> Hi all,
> 
> This patch series introduces support for Active Link Cable Diagnostics
> (ALCD) in the ethtool cable testing interface and the DP83TD510 PHY
> driver.
> 
> Why ALCD?
> On a 10BaseT1L interface, TDR (Time Domain Reflectometry) is not
> possible if the link partner is active - TDR will fail in these cases
> because it requires interrupting the link. Since the link is active, we
> already know the cable is functioning, so instead of using TDR, we can
> use ALCD.
> 
> [...]

Here is the summary with links:
  - [net-next,v3,1/3] ethtool: Extend cable testing interface with result source information
    https://git.kernel.org/netdev/net-next/c/abcd3026dd63
  - [net-next,v3,2/3] ethtool: Add support for specifying information source in cable test results
    https://git.kernel.org/netdev/net-next/c/4715d87e11ac
  - [net-next,v3,3/3] phy: dp83td510: Utilize ALCD for cable length measurement when link is active
    https://git.kernel.org/netdev/net-next/c/986a7fa4b454

You are awesome, thank you!