Skip to contentSkip to conversation

ethtool: add 0x16 and 0x1c extended compliance codes

PATCH In review Russell King 1 participant 1 message Oct 18, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 3/3 ethtool: add 0x16 and 0x1c extended compliance codes

From: Russell King <[email protected]>

0x16 and 0x1c are 10G Base-T extended compliance codes. Add these to our decoding.

---
 sfpid.c | 4 ++++
 1 file changed, 4 insertions(+)
sfpid.c +4 -0
index 3c50c456f93d..ded3be7337d8 100644
@@ -185,10 +185,14 @@ static void sff8079_show_transceiver(const __u8 *id)
 		printf("%s Extended: 25G Base-CR CA-S\n", pfx);
 	if (id[36] == 0xd)
 		printf("%s Extended: 25G Base-CR CA-N\n", pfx);
+	if (id[36] == 0x16)
+		printf("%s Extended: 10Gbase-T with SFI electrical interface\n", pfx);
 	if (id[36] == 0x18)
 		printf("%s Extended: 100G AOC or 25GAUI C2M AOC with worst BER of 10^(-12)\n", pfx);
 	if (id[36] == 0x19)
 		printf("%s Extended: 100G ACC or 25GAUI C2M ACC with worst BER of 10^(-12)\n", pfx);
+	if (id[36] == 0x1c)
+		printf("%s Extended: 10Gbase-T Short Reach\n", pfx);
 }
 
 static void sff8079_show_encoding(const __u8 *id)
Signature · 1 line
2.7.4