Hi,

It should work with AVF as it is using VFs, not PF, see 
https://docs.fd.io/vpp/21.01/d1/def/avf_plugin_doc.html
You should bind the VF with vfio-pci 1st though, so that it is usable by 
userspace drivers such as VPP AVF plugin.
If your system crashes when doing so it is a bug with your system.

Best
ben

> -----Original Message-----
> From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> On Behalf Of j...@jcm.me
> Sent: lundi 28 septembre 2020 01:29
> To: vpp-dev@lists.fd.io
> Subject: [vpp-dev] VPP on ESXI with i40evf (SR-IOV Passthrough) Driver
> 
> Hello,
> 
> Is there any support for VPP to talk directly to ESXI-assigned VFs via SR-
> IOV? I saw the AVF plugin but I don't want VPP to control the whole PF
> (physical NIC) but rather would like to have ESXI control the mapping of
> VFs (SR-IOV) and VPP (or DPDK) consume the VF natively in the VM so that I
> can run multiple VMs on the same physical NIC while benefiting from
> bypassing the vSwitch in ESXI. Right now I'm running VPP on a Ubuntu 18.04
> VM and I see the SR-IOV NIC as an i40evf driver.
> 
> I tried binding the SR-IOV NIC to the vfio driver but this causes the CPU
> of the VM to skyrocket and crash. I don't think using vfio is the right
> approach and feel like the solution here is really simple. Any
> suggestions?
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#17543): https://lists.fd.io/g/vpp-dev/message/17543
Mute This Topic: https://lists.fd.io/mt/77164974/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to