[vfio-users] Q on vfio-pci driver usage on Host

Ravi Kerur rkerur at gmail.com
Sun Apr 12 16:10:49 UTC 2020


Hi,

I use Intel NICs for PF and VF devices. VFs are assigned to virtual
machines and PF is used on the Host. I have intel-iommu=on on GRUB which
enables DMAR and IOMMU capabilities (checked via 'dmesg | grep -e IOMMU -e
DMAR) and use DPDK for datapath acceleration.

Couple of clarifications I need in terms of vfio-pci driver usage

(1) with intel-iommu=pt (Passthrough mode), PF device on host can bind to
either igb_uio or vfio-pci driver and similarly VF devices assigned to each
VM can bind to either igb_uio or vfio-pci driver via Qemu

(2) with intel-iommu=on (IOMMU enabled), PF device on host must bind to
vfio-pci driver and similarly VF devices assigned to each VM much bind to
vfio-pci driver. When IOMMU is enabled, only vfio-pci should be used?

Thanks,
Ravi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/vfio-users/attachments/20200412/4d87a67a/attachment.htm>


More information about the vfio-users mailing list