Hi,
I have a x520 pcie network card with 2 nics, The vfio-pci.ids method worked fine (I passed through those to xpenology). But when I try this plugin, the xpenology can no longer get an ip address. I checked lspci -v in unraid and it seems that unraid loaded the network card with vfio-pci, so I suppose they should be passed through.
07:00.0 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Netwo rk Connection (rev 01)
Subsystem: Intel Corporation Ethernet Server Adapter X520-2
Flags: fast devsel, IRQ 11
Memory at f2100000 (64-bit, non-prefetchable) [disabled] [size=512K]
I/O ports at 9020 [disabled] [size=32]
Memory at f2200000 (64-bit, non-prefetchable) [disabled] [size=16K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+
Capabilities: [70] MSI-X: Enable- Count=64 Masked-
Capabilities: [a0] Express Endpoint, MSI 00
Capabilities: [e0] Vital Product Data
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Device Serial Number 00-1b-21-ff-ff-ba-e9-ba
Capabilities: [150] Alternative Routing-ID Interpretation (ARI)
Capabilities: [160] Single Root I/O Virtualization (SR-IOV)
Kernel driver in use: vfio-pci
Kernel modules: ixgbe
07:00.1 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Netwo rk Connection (rev 01)
Subsystem: Intel Corporation Ethernet Server Adapter X520-2
Flags: bus master, fast devsel, latency 0, IRQ 17
Memory at f2180000 (64-bit, non-prefetchable) [size=512K]
I/O ports at 9000 [size=32]
Memory at f2404000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+
Capabilities: [70] MSI-X: Enable+ Count=64 Masked-
Capabilities: [a0] Express Endpoint, MSI 00
Capabilities: [e0] Vital Product Data
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Device Serial Number 00-1b-21-ff-ff-ba-e9-ba
Capabilities: [150] Alternative Routing-ID Interpretation (ARI)
Capabilities: [160] Single Root I/O Virtualization (SR-IOV)
Kernel driver in use: vfio-pci
Kernel modules: ixgbe
And here is the output of lspci -v in xpenology(I select only one nic to xpenology):
0000:04:00.0 Class 0200: Device 8086:10fb (rev 01)
Subsystem: Device 8086:000c
Flags: bus master, fast devsel, latency 0, IRQ 23
Memory at 98200000 (64-bit, non-prefetchable) [size=512K]
I/O ports at 7000 [size=32]
Memory at 98280000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+
Capabilities: [70] MSI-X: Enable+ Count=64 Masked-
Capabilities: [a0] Express Endpoint, MSI 00
Capabilities: [e0] Vital Product Data
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Device Serial Number 00-1b-21-ff-ff-ba-e9-ba
Kernel driver in use: ixgbe
I'm kind of confused. It seems both unraid and xpenology is showing the driver correctly, but no ip address for the nic. Everything worked just fine using vfio-pci.ids method but I just want to try if I could pass only one nic and leave the other one.
I will attach the diagnostics below.
I made some further effort trying the xen-pciback.hide method, which uses pci ids instead of vendor ids so that I could pass only one of the two nics. And it works. So i guess this might be some bug in vfio-pci config plugin.
tower-diagnostics-20200424-2248.zip