SR-IOV issues with Proxmox 4.4

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

Zac_K

Member
Nov 24, 2015
79
8
8
33
Hamburg/Germany, Graz/Austria
I recently installed Proxmox 4.4 and now having an issue with configuring SR-IOV for the Intel 82599ES 10 GbE adapter. The VM I want passthrough to is running SophosUTM9.4 which should support the ixgbe driver.

First I followed the offical Proxmox PCI-Passthrough guide.

So right now my Grub file looks like:
Code:
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on iommu=pt"
Next:
Code:
root@pve1:~# update-grub
Then I added the vfio commands at /etc/modules
Code:
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd
I only want to create 4 VF's at the first port of the card, so afterwards I created:
Code:
root@pve1:~# vi /etc/modprobe.d/ixgbe.conf
options ixgbe allow_unsupported_sfp=1,1 max_vfs=4,0
Update:
Code:
root@pve1:~# update-initramfs -u

Afterwards I rebooted and
Code:
root@pve1:~# lspci
gave me:
Code:
06:00.0 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)
06:00.1 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)
06:10.0 Ethernet controller: Intel Corporation 82599 Ethernet Controller Virtual Function (rev 01)
06:10.2 Ethernet controller: Intel Corporation 82599 Ethernet Controller Virtual Function (rev 01)
06:10.4 Ethernet controller: Intel Corporation 82599 Ethernet Controller Virtual Function (rev 01)
06:10.6 Ethernet controller: Intel Corporation 82599 Ethernet Controller Virtual Function (rev 01)
Looks like it worked.

My current VM config (SophosUTM 9.4):
Code:
bootdisk: virtio0
cores: 2
hostpci0: 03:00.1,pcie=1
hostpci1: 06:10.0,pcie=2

ide2: none,media=cdrom
machine: q35
memory: 3072
name: SophosUTM1
net0: e1000=C2:AA:82:5A:06:57,bridge=vmbr0
numa: 0
ostype: l24
scsihw: virtio-scsi-pci
smbios1: uuid=8701292b-e62d-4a8b-a899-b4867849a57e
sockets: 1
virtio0: local-lvm:vm-100-disk-1,size=40G
Note:
Code:
hostpci0: 03:00.1,pcie=1
Is a physical port of my i350-T2 adapter which is the WAN port of the VM.
If I add the 82599 ES VF with:
Code:
hostpci1: 06:10.0,pcie=1
The i350 port is not comming up o_O and Sophos is showing the 82599 VF neither....:mad:

and
Code:
hostpci1: 06:10.0,pcie=2
doesn't work either, with the difference that the i350 WAN port is comming up.

Right now I don't have a clue, why I can't pass the 82599ES VF through without taking my WAN port down. While I am writing this I had the idea that maybe SophosUTM is not supporting the igbvf and ixgbevf driver? :eek:

Can create a bridge on the PF and still passthrough the VF to other VM's, or is it not possible to use the PF whith the VF at the same time?

I will be thankfull for anykind of help.
 
Last edited: