How to disable Smart AN on CX6 adapter
To disable Auto Negotiation, you need to install the MFT package from the link below.
Note: MFT is part of MLNX_OFED, so if you have the driver installed on the system, you should already have MFT.
Then, you can use the mlxlink tool.
To get the MST device:
To query current configuration:
To Set Auto Negotiation to OFF and force the speed:
Then you must toggle the link so the above changes will take place:
Then query again:
You can also change FEC type to be the same as the switch, as FEC type should be identical on all end points:
Change to RS FEC:
Or - change to FC FEC:
mlxlink -d -fec FC -fec_speed