Hello,

I'm trying to set up PF using DPDK in addition to SR-IOV connection to the VMs.
Currently (before enabling SR-IOV VFs ) all interfaces is using  DPDK 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 ?
Regards,
Amir.

Reply via email to