Ethernet Products
Determine ramifications of Intel® Ethernet products and technologies
4867 Discussions

DPDK binding issue

Saatvik
Beginner
2,231 Views

I have compiled DPDK 19.11 with 20.08 patch. I have configured the dpdk path correctly and tried to run an application which uses DPDK for offloading into the ethernet buffers. 
While trying to bind, I am getting an error related to i40e API version:

EAL: probe driver: 8086:154c net_i40e_vf
i40evf_check_api_version(): fail to execute command OP_VERSION
i40evf_init_vf(): check_api version failed
i40evf_dev_init(): Init vf failed
EAL: Driver cannot attach the device (0000:65:02.0)
EAL: Failed to attach device on primary process
sample-app: Network port doesn't exist

I have ensured the i40e driver version is same on checking the ethtool & modinfo:
#] ethtool -i eth6
driver: i40e
version: 2.9.21
firmware-version: 7.10 0x800075e1 19.5.12

#] modinfo i40e
filename: /lib/modules/3.10.0-957.10.1.rt56.921.el7.x86_64/updates/drivers/net/ethernet/intel/i40e/i40e.ko
version: 2.9.21

I have tried with spoofchk off as well as on.
The businfo shows the same port with 10G SFP connected:
pci@0000:65:00.0 eth6 network Ethernet Controller X710 for 10GbE SFP+

Two Virtual functions are created on the interface:
pci@0000:65:02.0 network Ethernet Virtual Function 700 Series
pci@0000:65:02.1 network Ethernet Virtual Function 700 Series
65:02.0 Ethernet controller: Intel Corporation Ethernet Virtual Function 700 Series (rev 02)
65:02.1 Ethernet controller: Intel Corporation Ethernet Virtual Function 700 Series (rev 02)

What could be the reason for getting this i40evf_check_api_version(): fail to execute command OP_VERSION error?

0 Kudos
0 Replies
Reply