* [PATCH] ethtool: Add 2 new link_ext_state names
@ 2026-04-03 17:42 Michael Chan
0 siblings, 0 replies; only message in thread
From: Michael Chan @ 2026-04-03 17:42 UTC (permalink / raw)
To: mkubecek, kuba, netdev
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 <michael.chan@broadcom.com>
---
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-04-03 17:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-03 17:42 [PATCH] ethtool: Add 2 new link_ext_state names Michael Chan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox