Q3400-RA doesn't work on PRBS test using the mlxlink

I am trying to do some prbs test between 2 switches and use this cmd as suggested but it seems like this is not working properly. This is the cmd that I use - sudo mlxlink -d /dev/mst/mt54004_pciconf2 -p 6 --cable --prbs_select HOST --rx_prbs PRBS31 --tx_prbs PRBS31 --rx_rate XDR --tx_rate XDR --test_mode EN .

Is there any other command or suggestion on how to run PRBS test ? The switch are in nvos

Hello,

For mlxlink reading on these switches running NVOS, like Black Mamba (QM3400), need to use the following convention for the port syntax:

conf0 x/1-2/3
conf1 x/1-2/2
conf2 x/1-2/1
conf3 x/1-2/4

So, for port sw6p1 we’ll need to run the following command:

mlxlink -d -p 30/1/plane 1-4 depends on mst device

i.e.:

mlxlink -d /dev/mst/mt54004_pciconf0 -p 6/1/3 -e -m -c

mlxlink -d /dev/mst/mt54004_pciconf1 -p 6/1/2 -e -m -c

mlxlink -d /dev/mst/mt54004_pciconf2 -p 6/1/1 -e -m -c

mlxlink -d /dev/mst/mt54004_pciconf3 -p 6/1/4 -e -m -c

mlxlink -d /dev/mst/mt54004_pciconf0 -p 6/2/3 -e -m -c

mlxlink -d /dev/mst/mt54004_pciconf1 -p 6/2/2 -e -m -c

mlxlink -d /dev/mst/mt54004_pciconf2 -p 6/2/1 -e -m -c

mlxlink -d /dev/mst/mt54004_pciconf3 -p 6/2/4 -e -m -c

The -p 30/1/plane in the above should have been 6/1/plane.

Thank you for the reply.

I run this cmd → admin@nvos:~$ sudo mlxlink -d /dev/mst/mt54004_pciconf2 -p 1/1/1 --test_mode EN --rx_prbs PRBS31 --tx_prbs PRBS31 --rx_rate XDR --tx_rate XDR

to trigger the PRBS test but after I am trying to see the reading but I do see the PRBS mode tuning was not performed . For PRBS test, what data we need to focus on?

admin@nvos:~$ sudo mlxlink -d /dev/mst/mt54004_pciconf2 -p 1/1/1 -e -m -c



Test Mode Info

--------------

RX PRBS Mode                       : PRBS31

TX PRBS Mode                       : PRBS31

RX Lane Rate                       : 212.5G

TX Lane Rate                       : 212.5G

Tuning Status                      : PRBS mode tuning was not performed.

Lock Status                        :



Module Info

-----------

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

Identifier                         : OSFP

Compliance                         : IB XDR

Cable Technology                   : 1310 nm EML

Cable Type                         : Optical Module (separated)

OUI                                : Nvidia

Vendor Name                        : NVIDIA

Vendor Part Number                 : 980-9IAH1-00XM00

Vendor Serial Number               : MT2528FT41712

Rev                                : B1

Wavelength [nm]                    : 1311

Transfer Distance [m]              : 0.0

Attenuation (5g,7g,12g,25g)[dB]    : N/A

FW Version                         : 70.240.126

Digital Diagnostic Monitoring      : No

Power Class                        : 33.5 W max

CDR RX                             :

CDR TX                             :

LOS Alarm                          : N/A

SNR Media Lanes [dB]               : N/A

SNR Host Lanes [dB]                : N/A

IB Cable Width                     : 1x,2x

Memory Map Revision                : 64

Linear Direct Drive                : 0

Cable Breakout                     : Unspecified

SMF Length                         : 500m

MAX Power                          : 134

Cable Rx AMP                       : 0

Cable Rx Emphasis (Pre)            : 2

Cable Rx Post Emphasis             : 0

Cable Tx Equalization              : 0

Wavelength Tolerance               : 6.5nm

Module State                       : Ready state

DataPath state [per lane]          : N/A

Rx Output Valid [per lane]         : N/A

Nominal bit rate                   : N/A

Rx Power Type                      : Average power

Manufacturing Date                 : 10_07_25

Active Set Host Compliance Code    : IB XDR

Active Set Media Compliance Code   :

Error Code Response                : ConfigUndefined

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



Physical Counters and BER Info (PRBS)

-------------------------------------

Time Since Last Clear [Min]        : 0.1

PRBS Errors                        :

PRBS BER                           : 0E-0