Last active
July 14, 2024 21:35
-
-
Save alastorid/32586052ed6e912aeb0f4efcee6246b2 to your computer and use it in GitHub Desktop.
mt4103 SRIOV 64VFs
This file contains hidden or 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
rem should work for mt4099 too | |
rem some server may failed to boot, be careful | |
mlxconfig -d mt4103_pci_cr0 set LOG_BAR_SIZE=2 | |
mlxconfig -d mt4103_pci_cr0 set SRIOV_EN=1 LINK_TYPE_P1=2 LINK_TYPE_P2=2 NUM_OF_VFS=64 | |
mlxconfig -d mt4099_pci_cr0 set LOG_BAR_SIZE=2 | |
mlxconfig -d mt4099_pci_cr0 set SRIOV_EN=1 LINK_TYPE_P1=2 LINK_TYPE_P2=2 NUM_OF_VFS=64 | |
:: ---------------- | |
what i got | |
# mlxconfig q | |
Device #1: | |
---------- | |
Device type: ConnectX3Pro | |
Device: mt4103_pciconf0 | |
Configurations: Next Boot | |
SRIOV_EN True(1) | |
NUM_OF_VFS 64 | |
WOL_MAGIC_EN_P2 True(1) | |
LINK_TYPE_P1 ETH(2) | |
PHY_TYPE_P1 XFI(2) | |
XFI_MODE_P1 _10G(0) | |
FORCE_MODE_P1 False(0) | |
LINK_TYPE_P2 ETH(2) | |
PHY_TYPE_P2 XFI(2) | |
XFI_MODE_P2 _10G(0) | |
FORCE_MODE_P2 False(0) | |
LOG_BAR_SIZE 2 | |
BOOT_PKEY_P1 0 | |
BOOT_PKEY_P2 0 | |
BOOT_OPTION_ROM_EN_P1 True(1) | |
BOOT_VLAN_EN_P1 False(0) | |
BOOT_RETRY_CNT_P1 0 | |
LEGACY_BOOT_PROTOCOL_P1 PXE(1) | |
BOOT_VLAN_P1 1 | |
BOOT_OPTION_ROM_EN_P2 True(1) | |
BOOT_VLAN_EN_P2 False(0) | |
BOOT_RETRY_CNT_P2 0 | |
LEGACY_BOOT_PROTOCOL_P2 PXE(1) | |
BOOT_VLAN_P2 1 | |
IP_VER_P1 IPv4(0) | |
IP_VER_P2 IPv4(0) | |
CQ_TIMESTAMP True(1) | |
STEER_FORCE_VLAN False(0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment