Hi,

I’m trying to achieve PF passthrough of 40/10G ethernet interface (i40e) into 
guest VM running on qemu/kvm hypervisor and then create VFs on the PF inside 
the VM.
This is to have a flexibility and better manageability of VFs inside the VM 
(for example, kubernetes worker node) itself and not on the host.


The ethernet PCI device is seen inside the VM and bound to i40e driver. But I 
don’t see an option to create VFs. i.e. sriov_numvfs file is not seen under 
/sys/devices/pci0000:00/0000:00:02.1/0000:02:00.0 directory.

Host versions:
OS: Ubuntu 16.04.5 LTS, Kernel: 4.15.0-48-generic, libvirt: 4.0.0, qemu: 2.11.1
i40e version: 2.1.14-k, firmware-version: 6.01 0x800034a3 1.1747.0

Guest versions:
OS: CentOS 7 (Core) Kernel: 3.10.0-862.14.4.el7.x86_64
i40e version: 2.1.14-k, firmware-version: 6.01 0x800034a3 1.1747.0

The VM libvirt xml configuration [1], PF configuration at host [2], PF 
configuration at VM [3] are attached.
The lspci output line nos. 63-75 related to SRIOV Capabilities in host [2] are 
missing in VM which looks bit weird.

Could you please look into it and let us know what’s going wrong ?

[1] https://pastebin.ubuntu.com/p/wrDB6T68r3/
[2] https://pastebin.ubuntu.com/p/PW7Z4SxQPt/
[3] https://pastebin.ubuntu.com/p/JcmpMY48D6/

Thanks,
Periyasamy

_______________________________________________
E1000-devel mailing list
E1000-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel® Ethernet, visit 
http://communities.intel.com/community/wired

Reply via email to