My application already uses igb_uio. I am trying to change for vfio-pci in order to run my application without root permissions. I fixed the issue with the bind by adding this: "intel_iommu=on iommu=pt" to the grub file. Now i having another problem:
EAL: 0000:06:00.0 failed to select IOMMU type dmesg output: [11597.560394] vfio-pci 0000:06:00.1: Device is ineligible for IOMMU domain attach due to platform RMRR requirement. Contact your platform vendor. On Wed, Dec 30, 2020 at 1:16 PM Farbod <[email protected]> wrote: > Hi, > > > Have you tried DPDK IGB_UIO driver? > > Check this link: https://doc.dpdk.org/guides/linux_gsg/linux_drivers.html > > In the UIO section there is a little information about `igb_uio`. > > > I guess you should load the kernel module in the DPDK for igb_uio and then > bind your port using that driver instead of vfio. > > > Thanks > > ~ Farbod > > > <http://git.dpdk.org/dpdk-kmods> > On 12/30/20 11:32 AM, Hezy Abudy wrote: > > Hi All, > > I am trying to bind this nic I40E: > > Ethernet Controller X710 for 10GbE backplane 1581 > > > my OS is ubuntu 18.04 > kernel: 4.15.0-74-generic > > > I used dpdk-setup.sh to Insert VFIO module. > i also add iommu=on to grub file. > > > running devbind command: > > sudo ./dpdk-devbind.py -b vfio-pci 02:00.1 > > i Got this erros: > > Error: bind failed for 0000:02:00.1 - Cannot bind to driver vfio-pci > > > dmesg output: > > [ 5091.393436] vfio-pci*: probe of 0000:02:00.1 failed with error -22* > > > Thanks, > > Hezy. > >
