Forked from mikewebb70/Set Mellanox CX3 VPI ports type
Last active
March 12, 2021 02:21
-
-
Save therevoman/7457c5865d62d78f8f2bcb20c0c67396 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 | |
# | |
"# mst.exe status" | |
MST devices: | |
------------ | |
mt4099_pci_cr0 | |
mt4099_pciconf0 | |
# | |
# | |
# | |
# | |
$ mlxconfig -d mt4099_pci_cr0 set LINK_TYPE_P1=2 LINK_TYPE_P2=2 | |
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) ETH(2) | |
Apply new Configuration? ? (y/n) [n] : y | |
Applying... Done! | |
-I- Please reboot machine to load new configurations. | |
# | |
# | |
# | |
$ mlxconfig.exe -d mt4099_pciconf0 set LINK_TYPE_P1=2 LINK_TYPE_P2=2 | |
Device #1: | |
---------- | |
Device type: ConnectX3 | |
Device: mt4099_pciconf0 | |
Configurations: Next Boot New | |
LINK_TYPE_P1 ETH(2) ETH(2) | |
LINK_TYPE_P2 IB(1) ETH(2) | |
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