net: ethtool: Add impedance mismatch result code to cable test
authorPawel Dembicki <paweldembicki@gmail.com>
Tue, 2 Apr 2024 20:11:19 +0000 (22:11 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 4 Apr 2024 02:33:20 +0000 (19:33 -0700)
commit9cc8a6e62624e4a0e0bcf8dfd10cc89db6e0f14b
tree29b996ea2935bd349f1183a1526c080328c7c415
parentada9841e3e665bb320d2eedcf33f640198e2378d
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.

Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20240402201123.2961909-2-paweldembicki@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/uapi/linux/ethtool_netlink.h