net: ethtool: Add generic parts of cable test TDR
authorAndrew Lunn <andrew@lunn.ch>
Tue, 26 May 2020 22:21:38 +0000 (00:21 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 May 2020 06:21:48 +0000 (23:21 -0700)
commit1a644de29f712771c2ec00e52caa391544eb6141
treee0bf03d3de999e853aaa53a31eaf09662d68a245
parenta331172b156b23e83dfb556ade0ca23426c3f149
net: ethtool: Add generic parts of cable test TDR

Add the generic parts of the code used to trigger a cable test and
return raw TDR data. Any PHY driver which support this must implement
the new driver op.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
v2
Update nxp-tja11xx for API change.

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/nxp-tja11xx.c
drivers/net/phy/phy.c
include/linux/ethtool_netlink.h
include/linux/phy.h
net/ethtool/cabletest.c
net/ethtool/netlink.c
net/ethtool/netlink.h