I'm having major issues getting VF's to work on an MCX4121A-ACA_Ax connected to a E3-1270v2 on a Supermicro X9-SCM motherboard.
Bios & card config is no issue, but the moment I try to assign a VF to a VM in Proxmox, the VM fails to start saying it "Cannot bind 0000:02:00.2 to vfio".
Additionally I noticed I can only add VF's on the first port, trying to add VFs to the second port results in the following kernel errors :
[ 123.769976] mlx5_core 0000:02:00.1: E-Switch: Enable: mode(LEGACY), nvfs(2), active vports(3)
[ 123.878692] pci 0000:02:02.1: [15b3:1016] type 7f class 0xffffff
[ 123.878732] pci 0000:02:02.1: unknown header type 7f, ignoring device
[ 124.902663] mlx5_core 0000:02:00.1: mlx5_sriov_enable:157
pid 2517): pci_enable_sriov failed : -5
[ 124.903107] mlx5_core 0000:02:00.1: E-Switch: Disable: mode(LEGACY), nvfs(2), active vports(3)
I did try different MLX firmwares which don't make a difference. I did notice all VFs and all nic ports are in the same IOMMU group, nut i'm not entirely sure if thats an issue or not.
Bios & card config is no issue, but the moment I try to assign a VF to a VM in Proxmox, the VM fails to start saying it "Cannot bind 0000:02:00.2 to vfio".
Additionally I noticed I can only add VF's on the first port, trying to add VFs to the second port results in the following kernel errors :
[ 123.769976] mlx5_core 0000:02:00.1: E-Switch: Enable: mode(LEGACY), nvfs(2), active vports(3)
[ 123.878692] pci 0000:02:02.1: [15b3:1016] type 7f class 0xffffff
[ 123.878732] pci 0000:02:02.1: unknown header type 7f, ignoring device
[ 124.902663] mlx5_core 0000:02:00.1: mlx5_sriov_enable:157
[ 124.903107] mlx5_core 0000:02:00.1: E-Switch: Disable: mode(LEGACY), nvfs(2), active vports(3)
I did try different MLX firmwares which don't make a difference. I did notice all VFs and all nic ports are in the same IOMMU group, nut i'm not entirely sure if thats an issue or not.