ethtool: Add 2 new link_ext_state names
Subsystems (2)
PATCH 1/1 ethtool: Add 2 new link_ext_state names
Add the corresponding names for 2 recently added ethtool_link_ext_state enums from kernel commit bc87b14594e3:
ETHTOOL_LINK_EXT_STATE_OTP_SPEED_VIOLATIONETHTOOL_LINK_EXT_STATE_BMC_REQUEST_DOWN
for OTP (one-time-programmable) speed restrictions and BMC (Baseboard management controller) forcing the link down.
Signed-off-by Michael Chan <[email protected]>
--- netlink/settings.c | 2 ++ 1 file changed, 2 insertions(+)
netlink/settings.c +2 -0
@@ -671,6 +671,8 @@ static const char *const names_link_ext_state[] = { [ETHTOOL_LINK_EXT_STATE_POWER_BUDGET_EXCEEDED] = "Power budget exceeded", [ETHTOOL_LINK_EXT_STATE_OVERHEAT] = "Overheat", [ETHTOOL_LINK_EXT_STATE_MODULE] = "Module", + [ETHTOOL_LINK_EXT_STATE_OTP_SPEED_VIOLATION] = "OTP speed violation", + [ETHTOOL_LINK_EXT_STATE_BMC_REQUEST_DOWN] = "BMC request down", };static const char *const names_autoneg_link_ext_substate[] = {
Signature · 1 line
2.51.0