From: Aleksander Jan Bajkowski <olek2@wp.pl>
To: netdev@vger.kernel.org, mkubecek@suse.cz
Cc: Aleksander Jan Bajkowski <olek2@wp.pl>
Subject: [PATCH ethtool-next] sfpid: fix 10G Base-ER module detection
Date: Wed, 10 Jun 2026 20:51:55 +0200 [thread overview]
Message-ID: <20260610185308.61643-1-olek2@wp.pl> (raw)
According to the specification[1], byte 3 bit 7 corresponds to the
10G Base-ER standard.
1. SFF_8472 Rev 12.5a dated Jan 16, 2026
Fixes: 4071862f58d8 ("sfpid: Add JSON output handling to --module-info in SFF8079 modules")
Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
---
sfpid.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sfpid.c b/sfpid.c
index 228b3ee..8123fe8 100644
--- a/sfpid.c
+++ b/sfpid.c
@@ -73,7 +73,7 @@ static void sff8079_show_transceiver(const __u8 *id)
/* 10G Ethernet Compliance Codes */
if (id[3] & (1 << 7))
sprintf(value, "%s",
- "10G Ethernet: 10G Base-LRM [SFF-8472 rev10.4 onwards]");
+ "10G Ethernet: 10G Base-ER [SFF-8472 rev10.4 onwards]");
if (id[3] & (1 << 6))
sprintf(value, "%s", "10G Ethernet: 10G Base-LRM");
if (id[3] & (1 << 5))
--
2.53.0
reply other threads:[~2026-06-10 18:59 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=20260610185308.61643-1-olek2@wp.pl \
--to=olek2@wp.pl \
--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