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
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?