Commit 2140e63c authored by Oleksij Rempel's avatar Oleksij Rempel Committed by Jakub Kicinski

ethtool: Add new result codes for TDR diagnostics

Add new result codes to support TDR diagnostics in preparation for
Open Alliance 1000BaseT1 TDR support:

- ETHTOOL_A_CABLE_RESULT_CODE_NOISE: TDR not possible due to high noise
  level.
- ETHTOOL_A_CABLE_RESULT_CODE_RESOLUTION_NOT_POSSIBLE: TDR resolution not
  possible / out of distance.
Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarOleksij Rempel <o.rempel@pengutronix.de>
Link: https://patch.msgid.link/20240812073046.1728288-1-o.rempel@pengutronix.deSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 39911731
...@@ -556,6 +556,10 @@ enum { ...@@ -556,6 +556,10 @@ enum {
* a regular 100 Ohm cable and a part with the abnormal impedance value * a regular 100 Ohm cable and a part with the abnormal impedance value
*/ */
ETHTOOL_A_CABLE_RESULT_CODE_IMPEDANCE_MISMATCH, ETHTOOL_A_CABLE_RESULT_CODE_IMPEDANCE_MISMATCH,
/* TDR not possible due to high noise level */
ETHTOOL_A_CABLE_RESULT_CODE_NOISE,
/* TDR resolution not possible / out of distance */
ETHTOOL_A_CABLE_RESULT_CODE_RESOLUTION_NOT_POSSIBLE,
}; };
enum { enum {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment