•
•
•
•
1.
2.
3.
4.
1.
2.
3.
The local port (it can be shown by the–show_links command):
mstlink–d<device>--port_typePCIE–port1–margin–measure_time10
Rx-to-Tx Loopback Mode Activation
This capability enables Rx-to-Tx remote loopback mode.
Prerequisite
The port should be disabled and configured with Force mode [Disable the Auto-negotiation]
Remote loopback is supported for 25G/50G per lane speed
If the NIC has 2 ports, both ports should be configured with the same speed
To enable Rx-to-Tx remote loopback mode:
Disable the port.
mstlink-d/dev/mst/mt4123_pciconf0–port_stateDN
Configure the link mode to Force [Disable the Auto-negotiation].
mstlink -d /dev/mst/mt4123_pciconf0 --speeds 100G --link_mode_force
Configure loopback with remote loopback [RM].
mstlink-d/dev/mst/mt4123_pciconf0–loopbackRM
Enable the port.
mstlink-d/dev/mst/mt4123_pciconf0–port_stateUP
To return to the normal link operation:
Disable the port.
mstlink-d/dev/mst/mt4123_pciconf0–port_stateDN
Clear the loopback configuration using the "NO loopback" option.
mstlink-d/dev/mst/mt4123_pciconf0–loopbackNO
Enable the port.
mstlink-d/dev/mst/mt4123_pciconf0–port_stateUP
Tool Usage with NIC vs. Switch (-p Flag)
When using mstlink on NVIDIA Quantum HDR switch split ports, make sure you use the split formula
below to calculate the port number: