I have a ConnectX-6 100G network card (MCX653106A-ECA) and a QSFP+ 40GBASE-SR4 connected to it. My question is how to configure the mellanox card so that it recognizes breakout 4x10, provided that only 1 link out of 4 will be used.
Device Type: ConnectX-6
Part Number: MCX653106A-ECA_Ax
Version FW: 20.43.2566
With a ConnectX-6 (MCX653106A-ECA) and a 40G SR4 module, the card can do a 4x10G breakout, but the OS and firmware only activate the lanes you configure. If you want just 1 link out of 4, you still need to configure the port as a 4x10G breakout using mlxconfig or mstconfig, then only bring up the single lane in the OS.
Example (on Linux):
# Check supported modes
ethtool -m <interface>
# Set port to 4x10G
mlxconfig -d <device> set PORT_TYPE_P1=10G_SR4
# OS level, bring up only one of the 4 virtual interfaces
ip link set <veth0> up
Note: ConnectX-6 doesn’t auto-disable the other lanes, so the other 3 will remain unused but inactive.