All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next 0/7] Raw PHY TDR data
@ 2020-05-17 19:58 Andrew Lunn
  2020-05-17 19:58 ` [PATCH net-next 1/7] net: ethtool: Add attributes for cable test " Andrew Lunn
                   ` (7 more replies)
  0 siblings, 8 replies; 13+ messages in thread
From: Andrew Lunn @ 2020-05-17 19:58 UTC (permalink / raw)
  To: David Miller
  Cc: netdev, Florian Fainelli, Heiner Kallweit, Chris Healy,
	Michal Kubecek, Andrew Lunn

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


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

end of thread, other threads:[~2020-05-18 16:38 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-17 19:58 [PATCH net-next 0/7] Raw PHY TDR data Andrew Lunn
2020-05-17 19:58 ` [PATCH net-next 1/7] net: ethtool: Add attributes for cable test " Andrew Lunn
2020-05-17 19:58 ` [PATCH net-next 2/7] net: ethtool: Add generic parts of cable test TDR Andrew Lunn
2020-05-17 19:58 ` [PATCH net-next 3/7] net: ethtool: Add helpers for cable test TDR data Andrew Lunn
2020-05-17 19:58 ` [PATCH net-next 4/7] net: phy: marvell: Add support for amplitude graph Andrew Lunn
2020-05-17 20:25   ` Chris Healy
2020-05-17 20:51     ` Andrew Lunn
2020-05-18  0:23       ` Chris Healy
2020-05-18  4:49       ` Michal Kubecek
2020-05-17 19:58 ` [PATCH net-next 5/7] net: ethtool: Allow PHY cable test TDR data to configured Andrew Lunn
2020-05-17 19:58 ` [PATCH net-next 6/7] net : phy: marvell: Speedup TDR data retrieval by only changing page once Andrew Lunn
2020-05-17 19:58 ` [PATCH net-next 7/7] net: phy: marvell: Configure TDR pulse based on measurement length Andrew Lunn
2020-05-18 16:38 ` [PATCH net-next 0/7] Raw PHY TDR data Jakub Kicinski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.