Not able to configure more than 16 SR-IOV VFs on ConnectX-3 Pro

Hi,

I have the below ConnectX-3 Pro Mellanox NIC on a new gen HP server.

# lspci | grep Mel

09:00.0 Ethernet controller: Mellanox Technologies MT27520 Family [ConnectX-3 Pro]

I am able to create 16 SR-IOV VF’s on it. I wanted to know how I can increase the number of SRIOV VFs to more than 16.

I tried the following and it failed.

# mlxconfig -d /dev/mst/mt4103_pciconf0 q

Device #1:

----------

Device type: ConnectX3Pro

PCI device: /dev/mst/mt4103_pciconf0

Configurations: Current

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)

#

# mlxconfig -d /dev/mst/mt4103_pciconf0 set SRIOV_EN=1 NUM_OF_VFS=16 WOL_MAGIC_EN_P1=1

Device #1:

----------

Device type: ConnectX3Pro

PCI device: /dev/mst/mt4103_pciconf0

Configurations: Current New

-E- Device doesn’t support SRIOV_EN configuration

#

Could you please guide me in configuring more than 16 SR-IOV VFs?

Can you try: HowTo Configure SR-IOV for ConnectX-3 with KVM (InfiniBand) https://community.mellanox.com/s/article/howto-configure-sr-iov-for-connectx-3-with-kvm--infiniband-x