DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] DPDK on PF and SR-IOV
@ 2019-02-07 14:03 Amir Solav
  0 siblings, 0 replies; only message in thread
From: Amir Solav @ 2019-02-07 14:03 UTC (permalink / raw)
  To: users

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-02-07 14:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-07 14:03 [dpdk-users] DPDK on PF and SR-IOV Amir Solav

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).