diff options
author | 2020-05-10 21:12:34 +0200 | |
---|---|---|
committer | 2020-05-10 12:28:41 -0700 | |
commit | b28efb930ba5a7c263826fe02e13e1b6eadb5559 (patch) | |
tree | da6d9140fa49a093b2bcca9f3d9d8a718af0469c /drivers/net/phy/phy.c | |
parent | net: ethtool: netlink: Add support for triggering a cable test (diff) | |
download | wireguard-linux-b28efb930ba5a7c263826fe02e13e1b6eadb5559.tar.xz wireguard-linux-b28efb930ba5a7c263826fe02e13e1b6eadb5559.zip |
net: ethtool: Add attributes for cable test reports
Add the attributes needed to report cable test results to userspace.
The reports are expected to be per twisted pair. A nested property per
pair can report the result of the cable test. A nested property can
also report the length of the cable to any fault.
v2:
Grammar fixes
Change length from u16 to u32
s/DEV/HEADER/g
Add status attributes
Rename pairs from numbers to letters.
v3:
Fixed example in document
Add ETHTOOL_A_CABLE_NEST_* enum
Add ETHTOOL_MSG_CABLE_TEST_NTF to documentation
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Michal Kubecek <mkubecek@suse.cz>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/phy/phy.c')
0 files changed, 0 insertions, 0 deletions