I am having trouble figuring out why my 4 port NIC adapter is loading the vfio-pci driver. At one point I had tried to add the card to the vfio-pci driver to test some features, but afterward I thought I had removed it from the vfio-pci driver.
The LSI SAS3008 should be using vfio-pci. I have run update-initramfs as well as proxmox-boot-tool refresh. I don't know what else to check to get the NIC to be used as a NIC rather than a vfio-pci passthrough device.
/etc/kernel/cmdline
/etc/modprobe.d/vfio.conf
The LSI SAS3008 should be using vfio-pci. I have run update-initramfs as well as proxmox-boot-tool refresh. I don't know what else to check to get the NIC to be used as a NIC rather than a vfio-pci passthrough device.
Code:
root@pve:~# lspci -knn
00:00.0 Host bridge [0600]: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers [8086:1918] (rev 07)
Subsystem: Super Micro Computer Inc Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers [15d9:0907]
Kernel driver in use: skl_uncore
Kernel modules: ie31200_edac
00:01.0 PCI bridge [0604]: Intel Corporation 6th-10th Gen Core Processor PCIe Controller (x16) [8086:1901] (rev 07)
Kernel driver in use: pcieport
00:02.0 Display controller [0380]: Intel Corporation HD Graphics P530 [8086:191d] (rev 06)
Subsystem: Super Micro Computer Inc HD Graphics P530 [15d9:0907]
Kernel driver in use: i915
Kernel modules: i915
05:00.0 Ethernet controller [0200]: Intel Corporation 82576 Gigabit Network Connection [8086:10e8] (rev 01)
Subsystem: Intel Corporation Gigabit ET Quad Port Server Adapter [8086:a02c]
Kernel driver in use: vfio-pci
Kernel modules: igb
05:00.1 Ethernet controller [0200]: Intel Corporation 82576 Gigabit Network Connection [8086:10e8] (rev 01)
Subsystem: Intel Corporation Gigabit ET Quad Port Server Adapter [8086:a02c]
Kernel driver in use: vfio-pci
Kernel modules: igb
06:00.0 Ethernet controller [0200]: Intel Corporation 82576 Gigabit Network Connection [8086:10e8] (rev 01)
Subsystem: Intel Corporation Gigabit ET Quad Port Server Adapter [8086:a02c]
Kernel driver in use: vfio-pci
Kernel modules: igb
06:00.1 Ethernet controller [0200]: Intel Corporation 82576 Gigabit Network Connection [8086:10e8] (rev 01)
Subsystem: Intel Corporation Gigabit ET Quad Port Server Adapter [8086:a02c]
Kernel driver in use: vfio-pci
Kernel modules: igb
0a:00.0 Serial Attached SCSI controller [0107]: Broadcom / LSI SAS3008 PCI-Express Fusion-MPT SAS-3 [1000:0097] (rev 02)
Subsystem: Broadcom / LSI SAS 9300-16i [1000:3130]
Kernel driver in use: vfio-pci
Kernel modules: mpt3sas
0c:00.0 Serial Attached SCSI controller [0107]: Broadcom / LSI SAS3008 PCI-Express Fusion-MPT SAS-3 [1000:0097] (rev 02)
Subsystem: Broadcom / LSI SAS 9300-16i [1000:3130]
Kernel driver in use: vfio-pci
Kernel modules: mpt3sas
0e:00.0 Ethernet controller [0200]: Intel Corporation I210 Gigabit Network Connection [8086:1533] (rev 03)
DeviceName: Intel Ethernet i210
Subsystem: Super Micro Computer Inc I210 Gigabit Network Connection [15d9:1533]
Kernel driver in use: igb
Kernel modules: igb
/etc/kernel/cmdline
Code:
root=ZFS=rpool/ROOT/pve-1 boot=zfs intel_iommu=on iommu=pt i915.enable_gvt=1
/etc/modprobe.d/vfio.conf
Code:
# set lsi-sas 3008 hba for PCI passthrough
# also intel 10e8 gigabit ethernet adapter
#options vfio-pci ids=1000:0097,8086:10e8,1000:3130,8086:a02c
options vfio-pci ids=1000:0097,1000:3130
Code:
root@pve:~# dmesg | grep vfio
[ 5.791154] vfio_pci: add [1000:0097[ffffffff:ffffffff]] class 0x000000/00000000
[ 5.791211] vfio_pci: add [1000:3130[ffffffff:ffffffff]] class 0x000000/00000000
[ 25.699919] vfio-pci 0000:0a:00.0: vfio_ecap_init: hiding ecap 0x19@0x1e0
[ 25.815936] vfio-pci 0000:0c:00.0: vfio_ecap_init: hiding ecap 0x19@0x1e0