Correct way of using NIC Virtual Function

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

thigobr

Member
Apr 29, 2020
36
6
8
Hi all!

Last year when putting together my home server I tried to use the Mellanox CX3 Virtual Function under Proxmox. I was using the main device as the Proxmox host network interface and tried to assign the VFs to VMs but this would result in the main device losing connection while bringing up/down the VMs...

So my question is: what's the correct way of using VFs? Should I use only the VFs and leave the main device alone? Is there a way to properly use the same card for VMs and the host like I tried before?

I am re-visiting my server configuration and I would like to try VFs again
 

Vesalius

Active Member
Nov 25, 2019
254
195
43
Did you try using a VF as the Proxmox host network interface and use other VF's in the VM’s?
 

Vesalius

Active Member
Nov 25, 2019
254
195
43
Yes I believe it is. It is not possible to both have SR-IOV or direct passthrough on a PCIe device and use that device natively as you found out. It is one or the other.