[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200517195851.610435-1-andrew@lunn.ch>
Date: Sun, 17 May 2020 21:58:44 +0200
From: Andrew Lunn <andrew@...n.ch>
To: David Miller <davem@...emloft.net>
Cc: netdev <netdev@...r.kernel.org>,
Florian Fainelli <f.fainelli@...il.com>,
Heiner Kallweit <hkallweit1@...il.com>,
Chris Healy <cphealy@...il.com>,
Michal Kubecek <mkubecek@...e.cz>, Andrew Lunn <andrew@...n.ch>
Subject: [PATCH net-next 0/7] Raw PHY TDR data
Some ethernet PHYs allow access to raw TDR data in addition to summary
diagnostics information. Add support for retrieving this data via
netlink ethtool. The basic structure in the core is the same as for
normal phy diagnostics, the PHY driver simply uses different helpers
to fill the netlink message with different data.
There is a graphical tool under development, as well a ethtool(1)
which can dump the data as text and JSON.
Thanks for Chris Healy for lots of testing.
Andrew Lunn (7):
net: ethtool: Add attributes for cable test TDR data
net: ethtool: Add generic parts of cable test TDR
net: ethtool: Add helpers for cable test TDR data
net: phy: marvell: Add support for amplitude graph
net: ethtool: Allow PHY cable test TDR data to configured
net : phy: marvell: Speedup TDR data retrieval by only changing page
once
net: phy: marvell: Configure TDR pulse based on measurement length
Documentation/networking/ethtool-netlink.rst | 79 ++++++
drivers/net/phy/marvell.c | 276 ++++++++++++++++++-
drivers/net/phy/phy.c | 67 ++++-
include/linux/ethtool_netlink.h | 25 +-
include/linux/phy.h | 17 ++
include/uapi/linux/ethtool_netlink.h | 67 +++++
net/ethtool/cabletest.c | 209 +++++++++++++-
net/ethtool/netlink.c | 5 +
net/ethtool/netlink.h | 1 +
9 files changed, 734 insertions(+), 12 deletions(-)
--
2.26.2
Powered by blists - more mailing lists