NVIDIA FreeBSD for ConnectX-4 and above Adapter Cards

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:

  1. 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          0d 05 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          0d 00 23 88 00 00 00 00 00 00 00 00 ff 00 00 00
       0x0090          00 00 01 a0 4d 65 6c 6c 61 6e 6f 78 20 20 20 20
       0x00a0          20 20 20 20 1f 00 02 c9 4d 43 50 31 36 30 30 2d
       0x00b0          45 30 30 41 20 20 20 20 41 32 02 03 04 07 00 3f
       0x00c0          0b 00 00 00 4d 54 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 5e
       0x00e0          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 

  2. 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):
     0D 00 23 88 00 00 00 00 00 00 00 00 FF 00 00 00
     00 00 01 A0 4D 65 6C 6C 61 6E 6F 78 20 20 20 20
     20 20 20 20 1F 00 02 C9 4D 43 50 31 36 30 30 2D
     45 30 30 41 20 20 20 20 41 32 02 03 04 07 00 3F
     0B 00 00 00 4D 54 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 5E
     31 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):
     0D 05 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
    


Last updated: