Add the corresponding names for 2 recently added ethtool_link_ext_state enums from kernel commit bc87b14594e3: ETHTOOL_LINK_EXT_STATE_OTP_SPEED_VIOLATION ETHTOOL_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 --- netlink/settings.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/netlink/settings.c b/netlink/settings.c index 05d215e..b5e44f2 100644 --- a/netlink/settings.c +++ b/netlink/settings.c @@ -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[] = { -- 2.51.0