EEPROM Cable Information Reader
EEPROM cable reading feature allows reading important information about the plugged cable, such as cable type, cable speed, vendor and more.
In order to read the cable EEPROM info, either:
Read the cable information by enabling the following sysctl parameter.
#> sysctl dev.mce.<X>.conf.eeprom_info=
1
Output will be printed in dmesg.
Example:
#>sysctl dev.mce.
1
.conf.eeprom_info=1
dev.mce.1
.conf.eeprom_info:0
->0
#>dmesg Offset Values ------ ------0x0000
0d05
06
00
00
00
00
00
00
00
00
00
00
00
00
00
0x0010
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
0x0020
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
0x0030
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
0x0040
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
0x0050
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
0x0060
00
00
00
00
00
00
00
00
00
00
00
00
01
00
04
00
0x0070
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
0x0080
0d00
23
88
00
00
00
00
00
00
00
00
ff00
00
00
0x0090
00
00
01
a0 4d65
6c 6c61
6e 6f78
20
20
20
20
0x00a0
20
20
20
20
1f00
02
c9 4d43
50
31
36
30
30
2d0x00b0
45
30
30
41
20
20
20
20
41
32
02
03
04
07
00
3f0x00c0
0b00
00
00
4d54
31
35
32
31
56
53
30
36
34
38
0x00d0
34
20
20
20
31
35
30
35
32
36
20
20
00
00
67
5e0x00e0
31
32
38
38
35
35
32
33
38
44
33
33
00
00
00
00
0x00f0
00
00
00
00
00
00
00
00
00
00
00
00
00
30
00
00
OR
Use ifconfig:
#>ifconfig -v mce<X> #>ifconfig -vv mce<X> #>ifconfig -vvv mce<X>
Example:
#> ifconfig -vvv mce1 plugged: QSFP+ 40GBASE-CR4 (No separate connector) vendor: Mellanox PN: MCP1600-E00A SN: MT1521VS06484 DATE:
2015
-05
-26
compliance level: SFF-8636
rev <=1.5
nominal bitrate:25750
Mbps SFF8436 DUMP (0xA0
128
..255
range): 0D00
23
88
00
00
00
00
00
00
00
00
FF00
00
00
00
00
01
A0 4D65
6C 6C61
6E 6F78
20
20
20
20
20
20
20
20
1F00
02
C9 4D43
50
31
36
30
30
2D45
30
30
41
20
20
20
20
41
32
02
03
04
07
00
3F 0B00
00
00
4D54
31
35
32
31
56
53
30
36
34
38
34
20
20
20
31
35
30
35
32
36
20
20
00
00
67
5E31
32
38
38
35
35
32
33
38
44
33
33
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
30
00
00
SFF8436 DUMP (0xA0
0
..81
range): 0D05
06
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00