Man page - mlxlink(1)

Packages contas this manual

Manual

MLXLINK(1) User Commands MLXLINK(1)

mlxlink - manual page for mlxlink 4.19.0

NAME:
mlxlink
SYNOPSIS:
mlxlink [OPTIONS]
DESCRIPTION:
The mlxlink tool is used to check and debug link status and issues related to them. The tool can be used on different links and cables (passive, active, transceiver and backplane).
OPTIONS:
: Display help message.
: Display version info.
<device> : Perform operation for a specified mst device
<port_number> : Port Number
<port_type> : Port Type [NETWORK(Default)/PCIE/GEARBOX_HOST/INTERNAL_IC_LR/GEARBOX_LINE]
<depth> : depth level of the DUT of some hierarchy (PCIE only)
<pcie_index> : PCIe index number (Internal domain index) (PCIE only)
<node> : the node within each depth (PCIE only)
: Print the output in json format
QUERIES:
: Show valid PCIe links (PCIE only)
: Show Module Info
: Show Physical Counters and BER Info
: Show Eye Opening Info
: Show FEC Capabilities
: Show Transmitter Info
: Display all label ports mapped to group <group_num> (for Spectrum-2 and Quantum devices)
: General Device Info
: Show BER Monitor Info (not supported for HCA)
: Show External PHY Info (for Ethernet switches only)
COMMANDS:
: Configure Port State [UP(up)/DN(down)/TG(toggle)]
<speeds> : Configure Speeds [NDR,HDR,EDR,FDR10,FDR,QDR,DDR,SDR,400G_8X,200G_4X,100G_2X,50G_1X,100G,100G_4X,50G,50G_2X,25G,40X,10G,2.5G,1G]
: Configure Link Mode Force (Disable AN)
<loopback> : Configure Loopback Mode [NO(no loopback)/RM(phy remote Rx-to-Tx loopback)/PH(internal phy Tx-to-Rx loopback)/EX(external loopback connector needed)/EX(external Tx-to-Rx loopback)]
<fec_override> : Configure FEC [AU(Auto)/NF(No-FEC)/FC(FireCode FEC)/RS(RS-FEC)/LL(LL-RS-FEC)/DF-RS(Interleaved_RS-FEC)/DF-LL(Interleaved_LL_RS-FEC)]
<fec_speed> : Speed to Configure FEC [100G,56G,50G,40G,25G,10G,800G_8X,400G_4x,400G_8X,200G_2X,200G_4X,100G_2X,50G_1X,100G_4X] (Default is Active Speed)
<params> : Configure Transmitter Parameters For 16nm devices: [pre2Tap,preTap,mainTap,postTap,m2lp,amp] For 28nm devices: [Pol,tap0,tap1,tap2,bias,preemp_mode]
: Transmitter Lane to Set (Optional - Default All Lanes)
: Save Transmitter Configuration for Current Speed Permanently (Optional)
: Set the parameters according to Data Base only, otherwise it will be set according to the best possible configuration chosen by the system (e.g. KR-startup) (Optional)
<group_num> : Map ports to group <group_num> (for Spectrum-2 and Quantum devices)
<ports> : Ports to be mapped [1,2,3,4,...,128]
<prbs_mode> : Physical Test Mode Configuration [EN(enable)/DS(disable)/TU(perform tuning)]
<rx_prbs_mode> : RX PRBS Mode [PRBS31/PRBS23A/PRBS23B/PRBS23C/PRBS23D/PRBS7/PRBS11/PRBS11A/PRBS11B/PRBS11C/PRBS11D/PRBS9/IDLE/SQUARE_WAVEA/SQUARE_WAVEB/SQUARE_WAVEC/SQUARE_WAVED/PRBS13A/PRBS13B/PRBS13C/PRBS13D/SSPR/SSPRQ/LT_frames/PRBS15/PRBS28] (Optional - Default PRBS31)
<tx_prbs_mode> : TX PRBS Mode [PRBS31/PRBS23A/PRBS23B/PRBS23C/PRBS23D/PRBS7/PRBS11/PRBS11A/PRBS11B/PRBS11C/PRBS11D/PRBS9/IDLE/SQUARE_WAVEA/SQUARE_WAVEB/SQUARE_WAVEC/SQUARE_WAVED/PRBS13A/PRBS13B/PRBS13C/PRBS13D/SSPR/SSPRQ/LT_frames/PRBS15/PRBS28/SQUARE_WAVE3,SQUARE_WAVE13,SQUARE_WAVE30] (Optional - Default PRBS31] (Optional - Default PRBS31)
<rx_modulation> : RX Modulation [NRZ/PAM4/PAM4_PRECODING/PAM4_NO_GRAY/PAM4_NO_GRAY_PRECODING] (Optional - Default based on lane rate)
<tx_modulation> : TX Modulation [NRZ/PAM4/PAM4_PRECODING/PAM4_NO_GRAY/PAM4_NO_GRAY_PRECODING] (Optional - Default based on lane rate)
<rx_lane_rate> : RX Lane Rate [HDR,EDR,FDR10,FDR,QDR,DDR,SDR,400G_8X,200G_4X,100G_2X,50G_1X,100G,100G_4X,50G,50G_2X,25G,40X,10G,2.5G,1G] (Optional - Default 25G)
<tx_lane_rate> : TX Lane Rate [HDR,EDR,FDR10,FDR,QDR,DDR,SDR,400G_8X,200G_4X,100G_2X,50G_1X,100G,100G_4X,50G,50G_2X,25G,40X,10G,2.5G,1G] (Optional - Default 25G)
: PRBS TX polarity inversion (Optional - Default No Inversion)
: PRBS RX polarity inversion (Optional - Default No Inversion)
<lanes> : PRBS lanes to set (one or more lane separated by comma)[0,1,2,...,7] (Optional - Default all lanes)
: Port Extended Information Collection [CSV File]
<csv_file> : AmBER Port Extended Information Collection For 16nm Products and Later [CSV File]
<limit_criteria> : BER Limit Criteria [Nominal(Default)/Corner/Drift] (Optional - Default Nominal)
<iteration> : Iteration Number of BER Collection
: Clear Counters
: Set External PHY (for Ethernet switches only)
: Twisted Pair Force Mode [MA(Master)/SL(Slave)]
: Perform operations on the cables
: Dump cable pages in raw format
: Get cable Digital Diagnostic Monitoring information
: Perform read operation from specific page
<length> : Length of data to read in bytes (Optional - Default 1 byte)
<pageNum> : Specific page number to read/write
<offset> : Specific page offset to read/write
<bytes> : Perform write operation with specific data (list of bytes, separated by ',')
<pageNum> : Specific page number to read/write
<offset> : Specific page offset to read/write
: Read the SerDes eye margins per lane
<time> : Measure time in seconds for single eye [10/30/60/90/120/240/480/600/900] (Optional - Default 60 for PCIe and 30 for Network ports)
<eye_sel> : Eye selection for PAM4 [UP/MID/DOWN/ALL] (Optional - Default ALL)
<lane_index> : Run eye for specific lane index (Optional - Default all lanes)
: Enable the RX link deterioration
<value> : Fine change to the center of the eye 0x0 to 0x7ff
<value> : Coarse change to the center of the eye 0x0 to 0x3ff
: Show mixer offset 0 and mixer offset 1
: Provide histogram of FEC errors. The result is divided to bins. Each bin is holding different number of errored bit within FEC protected block
: Show FEC errors histograms
: Clears FEC errors histograms
: Non-interactive mode, answer yes to all questions
Examples:
:
mlxlink -d <device> -p <port_number>
get info of <device>, <port_number> and BER Counters:
mlxlink -d <device> -p <port_number> -c
get info of <device>, <port_number> and Transmitter Parameters:
mlxlink -d <device> -p <port_number> --show_serdes_tx
:
mlxlink -d <device> -p <port_number> --port_state UP
:
mlxlink -d <device> -p <port_number> --speeds 25G,50G,100G
:
mlxlink -d <device> -p <port_number> --fec RS
:
mlxlink -d <device> -p <port_number> --test_mode EN (--rx_prbs PRBS31 --rx_rate 25G --rx_modulation PAM4_PRECODING --tx_prbs PRBS7 --tx_rate 10G --tx_modulation NRZ)
:
mlxlink -d <device> -p <port_number> --test_mode TU
:
mlxlink -d <device> --cable options
:
mlxlink -d <device> --cable --dump
:
mlxlink -d <device> --cable --ddm
:
mlxlink -d <device> --cable --read --page <page number> --offset <bytes offset> --length <number of bytes>
:
mlxlink -d <device> --cable --write <bytes separated by comma> --page <page number> --offset <bytes offset>
Configure Transmitter Parameters (on lane, to database):
mlxlink -d <device> -p <port_number> --serdes_tx <polarity>,<ob_tap0>,<ob_tap1>,<ob_tap2>,<ob_bias>,<ob_preemp_mode> (--serdes_tx_lane <lane number>) (--database)
Configure Transmitter Parameters for 16nm devices:
mlxlink -d <device> -p <port_number> --serdes_tx <pre_2_tap>,<pre_tap>,<main_tap>,<post_tap>,<ob_m2lp>,<ob_amp>

The full documentation for mlxlink is maintained as a Texinfo manual. If the info and mlxlink programs are properly installed at your site, the command

info mlxlink

should give you access to the complete manual.

January 2022 mlxlink 4.19.0