Last active
March 12, 2021 02:20
-
-
Save mikewebb70/97db63d7d86c0c24c6784b78055f0ee4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# 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