Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replacing mlxreg_ext by mlxlink for cable detection #2

Open
guilbaults opened this issue May 20, 2024 · 0 comments
Open

Replacing mlxreg_ext by mlxlink for cable detection #2

guilbaults opened this issue May 20, 2024 · 0 comments

Comments

@guilbaults
Copy link
Owner

mlxreg_ext is hard to use and currently broken for HDR cables.

Example of the output for EDR and HDR cables:

Copper HDR splitter:

mlxlink -d lid-726 -p 1 --show_module

Operational Info
----------------
State                           : Active
Physical state                  : LinkUp
Speed                           : IB-HDR
Width                           : 2x
FEC                             : RS-FEC - (544,514) + PLR
Loopback Mode                   : No Loopback
Auto Negotiation                : ON

Supported Info
--------------
Enabled Link Speed              : 0x00000075 (HDR,EDR,FDR,QDR,SDR)
Supported Cable Speed           : 0x0000007f (HDR,EDR,FDR,FDR10,QDR,DDR,SDR)

Troubleshooting Info
--------------------
Status Opcode                   : 0
Group Opcode                    : N/A
Recommendation                  : No issue was observed.

Tool Information
----------------
Firmware Version                : 27.2012.3040
amBER Version                   : 1.64
MFT Version                     : mft 4.18.0-106

Module Info
-----------
Identifier                      : QSFP28
Compliance                      : N/A
Cable Technology                : Copper cable unequalized
Cable Type                      : Passive copper cable
OUI                             : Mellanox
Vendor Name                     : Mellanox
Vendor Part Number              : MCP7H50-H002R26
Vendor Serial Number            : changeme
Rev                             : A3
Wavelength [nm]                 : N/A
Transfer Distance [m]           : 2
Attenuation (5g,7g,12g) [dB]    : 5,6,9
FW Version                      : N/A
Digital Diagnostic Monitoring   : No
Power Class                     : N/A
CDR RX                          : N/A
CDR TX                          : N/A
LOS Alarm                       : N/A
Temperature [C]                 : N/A
Voltage [mV]                    : N/A
Bias Current [mA]               : N/A
Rx Power Current [dBm]          : N/A
Tx Power Current [dBm]          : N/A
IB Cable Width                  : 1x,2x
Memory Map Revision             : 8
Linear Direct Drive             : 0
Cable Breakout                  : Channels implemented [1,2,3,4]/2 far-ends with 2 channels implemented in each (i.e. 2x2 break out)
SMF Length                      : N/A
MAX Power                       : 0
Cable Rx AMP                    : N/A
Cable Rx Emphasis               : N/A
Cable Rx Post Emphasis          : N/A
Cable Tx Equalization           : N/A
Wavelength Tolerance            : N/A
Module State                    : N/A
DataPath state [per lane]       : N/A,N/A
Rx Output Valid                 : 0,0
Rx Input Valid                  : 0,0
Nominal bit rate                : 26.500Gb/s
Rx Power Type                   : OMA
Manufacturing Date              : 17_00_21
Active Set Host Compliance Code : N/A
Active Set Media Compliance Code: N/A
Error Code Response             : N/A
Module FW Fault                 : N/A
DataPath FW Fault               : N/A
Tx Fault [per lane]             : N/A
Tx LOS [per lane]               : N/A
Tx CDR LOL [per lane]           : N/A
Rx LOS [per lane]               : N/A
Rx CDR LOL [per lane]           : N/A
Tx Adaptive EQ Fault [per lane] : N/A

Copper EDR cable:

mlxlink -d lid-726 -p 7 --show_module

Operational Info
----------------
State                           : Active
Physical state                  : LinkUp
Speed                           : IB-EDR
Width                           : 4x
FEC                             : Standard LL RS-FEC - RS(271,257)
Loopback Mode                   : No Loopback
Auto Negotiation                : ON

Supported Info
--------------
Enabled Link Speed              : 0x00000035 (EDR,FDR,QDR,SDR)
Supported Cable Speed           : 0x0000003f (EDR,FDR,FDR10,QDR,DDR,SDR)

Troubleshooting Info
--------------------
Status Opcode                   : 0
Group Opcode                    : N/A
Recommendation                  : No issue was observed.

Tool Information
----------------
Firmware Version                : 27.2012.3040
amBER Version                   : 1.64
MFT Version                     : mft 4.18.0-106

Module Info
-----------
Identifier                      : QSFP+
Compliance                      : N/A
Cable Technology                : Copper cable unequalized
Cable Type                      : Passive copper cable
OUI                             : Mellanox
Vendor Name                     : Mellanox
Vendor Part Number              : MCP1600-E002E30
Vendor Serial Number            : changeme
Rev                             : A2
Wavelength [nm]                 : N/A
Transfer Distance [m]           : 2
Attenuation (5g,7g,12g) [dB]    : 6,8,12
FW Version                      : N/A
Digital Diagnostic Monitoring   : No
Power Class                     : N/A
CDR RX                          : N/A
CDR TX                          : N/A
LOS Alarm                       : N/A
Temperature [C]                 : N/A
Voltage [mV]                    : N/A
Bias Current [mA]               : N/A
Rx Power Current [dBm]          : N/A
Tx Power Current [dBm]          : N/A
IB Cable Width                  : 1x,2x,4x
Memory Map Revision             : 6
Linear Direct Drive             : 0
Cable Breakout                  : Channels implemented [1,2,3,4]/Cable with single far-end with 4 channels implemented, or separable module with a 4-channel connector
SMF Length                      : N/A
MAX Power                       : 0
Cable Rx AMP                    : N/A
Cable Rx Emphasis               : N/A
Cable Rx Post Emphasis          : N/A
Cable Tx Equalization           : N/A
Wavelength Tolerance            : N/A
Module State                    : N/A
DataPath state [per lane]       : N/A,N/A,N/A,N/A
Rx Output Valid                 : 0,0,0,0
Rx Input Valid                  : 0,0,0,0
Nominal bit rate                : 25.750Gb/s
Rx Power Type                   : OMA
Manufacturing Date              : 30_12_21
Active Set Host Compliance Code : N/A
Active Set Media Compliance Code: N/A
Error Code Response             : N/A
Module FW Fault                 : N/A
DataPath FW Fault               : N/A
Tx Fault [per lane]             : N/A
Tx LOS [per lane]               : N/A
Tx CDR LOL [per lane]           : N/A
Rx LOS [per lane]               : N/A
Rx CDR LOL [per lane]           : N/A
Tx Adaptive EQ Fault [per lane] : N/A

Optical HDR cable:

mlxlink -d lid-726 -p 17 --show_module

Operational Info
----------------
State                           : Active
Physical state                  : LinkUp
Speed                           : IB-HDR
Width                           : 4x
FEC                             : LL-FEC - (271,257) + PLR
Loopback Mode                   : No Loopback
Auto Negotiation                : ON

Supported Info
--------------
Enabled Link Speed              : 0x00000061 (HDR,EDR,SDR)
Supported Cable Speed           : 0x00000061 (HDR,EDR,SDR)

Troubleshooting Info
--------------------
Status Opcode                   : 0
Group Opcode                    : N/A
Recommendation                  : No issue was observed.

Tool Information
----------------
Firmware Version                : 27.2012.3040
amBER Version                   : 1.64
MFT Version                     : mft 4.18.0-106

Module Info
-----------
Identifier                      : QSFP28
Compliance                      : N/A
Cable Technology                : 850 nm VCSEL
Cable Type                      : Active cable (active copper / optics)
OUI                             : Mellanox
Vendor Name                     : Mellanox
Vendor Part Number              : MFS1S00-H020E
Vendor Serial Number            : changeme
Rev                             : A7
Wavelength [nm]                 : 850
Transfer Distance [m]           : 20
Attenuation (5g,7g,12g) [dB]    : N/A
FW Version                      : 37.50.322
Digital Diagnostic Monitoring   : Yes
Power Class                     : 5.0 W max
CDR RX                          : ON,ON,ON,ON
CDR TX                          : ON,ON,ON,ON
LOS Alarm                       : N/A
Temperature [C]                 : 48 [-10..80]
Voltage [mV]                    : 3236 [3100..3500]
Bias Current [mA]               : 7.386,7.392,7.390,7.392 [5.492..8.5]
Rx Power Current [dBm]          : 0,0,0,0 [-14..6]
Tx Power Current [dBm]          : 0,0,0,0 [-12..6]
IB Cable Width                  : 1x,2x,4x
Memory Map Revision             : 8
Linear Direct Drive             : 0
Cable Breakout                  : Channels implemented [1,2,3,4]/Cable with single far-end with 4 channels implemented, or separable module with a 4-channel connector
SMF Length                      : N/A
MAX Power                       : 0
Cable Rx AMP                    : 0
Cable Rx Emphasis               : 0
Cable Rx Post Emphasis          : 0
Cable Tx Equalization           : 8
Wavelength Tolerance            : 3000nm
Module State                    : N/A
DataPath state [per lane]       : N/A,N/A,N/A,N/A
Rx Output Valid                 : 0,0,0,0
Rx Input Valid                  : 0,0,0,0
Nominal bit rate                : 26.500Gb/s
Rx Power Type                   : Average power
Manufacturing Date              : 14_03_21
Active Set Host Compliance Code : N/A
Active Set Media Compliance Code: N/A
Error Code Response             : N/A
Module FW Fault                 : N/A
DataPath FW Fault               : N/A
Tx Fault [per lane]             : 0,0,0,0
Tx LOS [per lane]               : 0,0,0,0
Tx CDR LOL [per lane]           : 0,0,0,0
Rx LOS [per lane]               : 0,0,0,0
Rx CDR LOL [per lane]           : 0,0,0,0
Tx Adaptive EQ Fault [per lane] : 0,0,0,0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant