How can i force the adapter to not auto negotiate to 1gbs. I need to force it to 25 gbps on Windows Server 2019.

Apparently there is a command in linux that does this: ethtool -s speed 25000 autoneg off

Hi Daniel ,

You can use the mlxlink tool part of the MFT (Mellanox firmware tools)

https://community.mellanox.com/s/article/mlxlink

#mst start

mst status to get the device id

i.e

/dev/mst/mt4115_pciconf0

Set the speed to 1G

mlxlink -d /dev/mst/mt4115_pciconf0 -s 1G

Toggle the link

"mlxlink -d /dev/mst/mt4115_pciconf0 -a TG

To verify changes run :

mlxlink -d /dev/mst/mt4115_pciconf0 -emc

Thanks,

Samer