History

net: ethtool: Add impedance mismatch result code to cable test

Some PHYs can recognize during a cable test if the impedance in the cable is okay. They can detect reflections caused by impedance discontinuity between a regular 100 Ohm cable and an abnormal part with a higher or lower impedance. This commit introduces a new result code: ETHTOOL_A_CABLE_RESULT_CODE_IMPEDANCE_MISMATCH, which represents the results of a cable test indicating issues with impedance integrity.

Pawel Dembicki committed 2 years ago

Commit 9cc8a6e1 parent ada98411 file · +4 −0Browse files

Showing the changes to include/uapi (1 of 1 file). Show all

Unified · Split

include/uapi/linux/ethtool_netlink.h+4−0
@@ -515,6 +515,10 @@ enum { · 514 unmodified lines
515 ETHTOOL_A_CABLE_RESULT_CODE_OPEN,515 ETHTOOL_A_CABLE_RESULT_CODE_OPEN,
516 ETHTOOL_A_CABLE_RESULT_CODE_SAME_SHORT,516 ETHTOOL_A_CABLE_RESULT_CODE_SAME_SHORT,
517 ETHTOOL_A_CABLE_RESULT_CODE_CROSS_SHORT,517 ETHTOOL_A_CABLE_RESULT_CODE_CROSS_SHORT,
518 /* detected reflection caused by the impedance discontinuity between
519 * a regular 100 Ohm cable and a part with the abnormal impedance value
520 */
521 ETHTOOL_A_CABLE_RESULT_CODE_IMPEDANCE_MISMATCH,
518};522};
519 523
520enum {524enum {