Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
516 views
in Technique[技术] by (71.8m points)

dpdk - Unable to bind intel NIC X710

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...