Reputation: 51
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
Upvotes: 3
Views: 6249
Reputation: 4798
There is no issue in binding vfio-pci
on Ethernet Controller X710
. I have followed the following steps with success
modprobe vfio-pci
lsmod
sudo ./usertools/dpdk-devbind.py -b vfio-pci [PCIe B:D:F]
[EDIT-1] as per DPDK documentation workaround for VT-d or iommu is suggested.
note:
echo 1 > /sys/module/vfio/parameters/enable_unsafe_noiommu_mode
, then follow the above steps.Warning: routing table indicates that interface [PCIe B:D:F] is active. Not modifying
. Simply disable the interface with ifconfig [interface name] down
and bind again.Upvotes: 6