Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#
# Commands to set protocol type between ehternet and infiniband on Mellanox ConnectX-3 VPI network cards
# LINK_TYPE 2 = Eth
# LINK_TYPE 1 = IB
# LINK_TYPE 3 = VPI
#
"C:\Program Files\Mellanox\WinMFT\mst.exe" status
MST devices:
------------
mt4099_pci_cr0
mt4099_pciconf0
#
#
#
#
"C:\Program Files\Mellanox\WinMFT\mlxconfig.exe" -d mt4099_pci_cr0 set LINK_TYPE_P1=2 LINK_TYPE_P2=1
Device #1:
----------
Device type: ConnectX3
Device: mt4099_pci_cr0
Configurations: Next Boot New
LINK_TYPE_P1 ETH(2) ETH(2)
LINK_TYPE_P2 ETH(2) IB(1)
Apply new Configuration? ? (y/n) [n] : y
Applying... Done!
-I- Please reboot machine to load new configurations.
#
#
#
C:\Program Files\Mellanox\WinMFT>mlxconfig.exe -d mt4099_pciconf0 set LINK_TYPE_P1=2 LINK_TYPE_P2=1
Device #1:
----------
Device type: ConnectX3
Device: mt4099_pciconf0
Configurations: Next Boot New
LINK_TYPE_P1 ETH(2) ETH(2)
LINK_TYPE_P2 IB(1) IB(1)
Apply new Configuration? ? (y/n) [n] : y
Applying... Done!
-I- Please reboot machine to load new configurations.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment