[dpdk-dev] vfio error

Liang Ma liangma at liangbit.com
Mon Apr 5 18:53:47 CEST 2021


On Sun, Apr 04, 2021 at 07:10:43PM +0430, hamidreza Kheirabadi wrote:
> Hi,
> I have a dpdk application which binds nic with igb_uio. My problem is
> whenever the kernel updates, I must recompile igb_uio.ko as well.
> I want to use vfio instead but I got an error:
> 
> Error: bind failed for 0000:06:00.0 - Cannot bind to driver vfio-pci
> Error: unbind failed for 0000:06:00.0 - Cannot open
> /sys/bus/pci/drivers//unbind
> 
> I used ubuntu 20.04 and dpdk-18.05 and use dpdk-setup.py helper script
> 
> Regards,
> hamid
Hi Hamid, 
   Please double check if you enable IOMMU(VT-d) in you bios and if you
   kernel boot parameter has "intel_iommu=on".
Regards
Liang


More information about the dev mailing list