> On 5 Feb 2019, at 05:08, amir...@rad.com wrote: > > Hi Damjan, > > My main goal is to use the PF inside the VPP using DPDK in addition to SR-IOV > connection to the VMs. > Currently (before enabling SR-IOV VFs ) all interfaces is connected to VPP > with DPDK using VFIO-PCI driver. > I've enabled below patch to the VFIO driver in order to create VF on the > Physical port: > https://patchwork.kernel.org/patch/10103353/ > > The problem is that once I bind VFIO driver to the created VF I expect to see > new device node /dev/vfio/X with the relevant IOMMU group. > In my setup this device note isn't created therefore I can't connect the VF > to VM using Libvirt which is looking for this file. > > The sequence I did is: > #Create 4 VF on the PF > echo '4' > /sys/bus/pci/devices/0000\:06\:00.0/sriov_numvfs > #Unbind the 4 VF from the default driver > echo "0000:06:10.0" > /sys/bus/pci/drivers/ixgbevf/unbind > echo "0000:06:10.2" > /sys/bus/pci/drivers/ixgbevf/unbind > echo "0000:06:10.4" > /sys/bus/pci/drivers/ixgbevf/unbind > echo "0000:06:10.6" > /sys/bus/pci/drivers/ixgbevf/unbind > #Bind the VF to VFIO-PCI driver > echo "8086 15c5" > /sys/bus/pci/drivers/vfio-pci/new_id > #After this command I expect to see new /dev/vfio/X file for each VF. > I can see that each VF is in different IOMMU group. > > What I'm missing here ? > Is there any other option to connect VM with SR-IOV once using DPDK driver on > the PF ?
I'm afraid you will need to keep PF bound to linux driver if you want VFs to show up... -- Damjan
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12193): https://lists.fd.io/g/vpp-dev/message/12193 Mute This Topic: https://lists.fd.io/mt/29158489/21656 Mute #vpp: https://lists.fd.io/mk?hashtag=vpp&subid=1480452 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-