VM passthrough CX-4 single NIC port can't use SR-IOV in PVE 8.2

SimonXu

New Member
Jan 8, 2025
2
0
1
Hey everybody,
I have a problem and hope someone can help me solve it or point me in the right direction.

My physical device and environment:
proxmox-ve: 8.2.0 (running kernel: 6.8.8-4-pve)
Intel 5215 * 1
ConnectX-4 Lx dual ports * 1
SR-IOV enable in BIOS

My VM configuration is as below, it own a vGPU and passthrough a single CX4 port
1736763529208.png

There are some failed in node001's dmesg
1736759937830.png

I can see the CX4 network card in the VM OS , but there is no SR-IOV function when use lspci adapter command , so that I use ‘’mlxconfig -d /dev/mst/mt4117_pciconf0 set SRIOV_EN=1 NUM_OF_VFS=8 ‘’ can't enable CX4 SR-IOV function.

1736481340132.png

Is PVE not support this operation? or What other settings can support this operation ? thanks
 
Last edited: