0
votes

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

1
Did you first unbind the device from existing driver? If yes, share result for 'lshw -c network -businfo' before unbind from i40e, after unbind from i40e, then bind with vfio-pci. - Vipin Varghese
are there any updates? - Vipin Varghese

1 Answers

0
votes

There is no issue in binding vfio-pci on Ethernet Controller X710. I have followed the following steps with success

  • DPDK version: dpdk-20.11
  • NIC: driverversion=2.1.14-k, firmware=6.01
  • modprobe vfio-pci
  • confirm via lsmod
  • bind with sudo ./usertools/dpdk-devbind.py -b vfio-pci [PCIe B:D:F]
  • if the interface is already used in Kernel - Warning: routing table indicates that interface [PCIe B:D:F] is active. Not modifying

Note: @HezyAbudy I have requested for more information via comment also.