Port Type Management
ConnectX®-3 onwards adapter cards’ ports can be individually configured to work as InfiniBand or Ethernet ports. By default, ConnectX® family adapter cards VPI ports are initialized as InfiniBand ports. If you wish to change the port type use the mstconfig after the driver is loaded.
Install mstflint tools
yum install mstflint
Check the device’s PCI address.
lspci | grep Mellanox
06.0Infiniband controller: Mellanox Technologies MT27520 Family [ConnectX-
Use mstconfig to change the link type as desired—IB (InfiniBand) or ETH (Ethernet).
mstconfig –d <device pci> s LINK_TYPE_P1/
# mstconfig -d
06.0s LINK_TYPE_P1=ETH Device #
1: ---------- Device type: ConnectX3Pro PCI device:
06.0Configurations: Current New LINK_TYPE_P1 IB(
newConfiguration? ? (y/n) [n] : y Applying... Done! -I- Please reboot machine to load
Reboot your machine.