From: Michael Chan <michael.chan@broadcom.com>
To: mkubecek@suse.cz, kuba@kernel.org, netdev@vger.kernel.org
Subject: [PATCH] ethtool: Add 2 new link_ext_state names
Date: Fri, 3 Apr 2026 10:42:00 -0700 [thread overview]
Message-ID: <20260403174200.1180275-1-michael.chan@broadcom.com> (raw)
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
reply other threads:[~2026-04-03 17:42 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260403174200.1180275-1-michael.chan@broadcom.com \
--to=michael.chan@broadcom.com \
--cc=kuba@kernel.org \
--cc=mkubecek@suse.cz \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox