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

API version mismatch error for intel XL710 Sriov when running multiple Pktgen DPDK in parallel for same PF.

AGupt112
Beginner
1,750 Views

Hello All,

 

We are trying run Pktgen DPDK using intel XL710 in Sriov mode but facing an error.

 

Setup:

Openstack . Host A and B contain Intel XL 710 card in back to back mode.

NIC: Intel XL710

 

Driver info for PCI cards in Host:

ethtool -i ens1f0

driver: i40e

version: 1.4.25

firmware-version: 6.01 0x800036ea 1.1861.0

expansion-rom-version:

bus-info: 0000:81:00.0

supports-statistics: yes

supports-test: yes

supports-eeprom-access: yes

supports-register-dump: yes

supports-priv-flags: yes

 

Sriov driver in VM:

             driver: iavf

version: 3.7.61.20

firmware-version: N/A

expansion-rom-version:

bus-info: 0000:00:04.0

supports-statistics: yes

supports-test: no

supports-eeprom-access: no

supports-register-dump: no

supports-priv-flags: no

 

DPDK Version: 18.11.1

Pktgen Version: 3.7.1

 

Test scenario:

 

  1. We are deploying multiple VMs in host A and B and doing Sriov passthrough.
  2. Each VM contain a Sriov port from the same PF.
  3. From both end Pktgen DPDK is running inside the VMs in parallel.
  4. VMs in Host A are the sender and in Host B are receiver and are paired one to one i.e, VM0 in host A will send packets to VM0 in Host B and so on.

 

Problem:

  1. When we are running Pktgen DPDK in multiple VMs in parallel for say if we deploy 5 instances each in Host A and Host B then in some of the instances we are getting error:
  2. i40evf_check_api_version(): PF/VF API version mismatch:(0.0)-(1.1)

i40evf_init_vf(): check_api version failed

EAL: Requested device 0000:00:04.0 cannot be used

  1. From the kernel log in the host machine we get the following error of the faulty VMs:
  2. 0000:81:00.0: Invalid message from VF 3, opcode 28, len 0

i40e 0000:81:00.0: Invalid message from VF 4, opcode 28, len 0

i40e 0000:81:00.0: VF 4 failed opcode 14, error: -5

i40e 0000:81:00.0: VF 3 failed opcode 14, error: -5

 

The Above problem does not repeat if we are running only one DPDK pktgen i.e deploying only 1 VM in host A and host B.

 

Could someone pls help me please regarding the issue.

 

Thanks,

Anand

0 Kudos
8 Replies
AlfredoS_Intel
Moderator
1,674 Views

Hi AGupt112 ,

 

Thank you for posting in Intel Ethernet Communities. 

 

Since your inquiry involves DPDK, we have a different team who supports DPDK.

 

Please open the link below to log your inquiry.

 

 

 

https://www.intel.com/content/www/us/en/design/support/ips/training/welcome.html

 

 

Click the "Login and Access" to contact the DPDK support 

 

 

 

If you have questions, please let us know.

 

 

 

Best regards,

 

Alfred S

 

Intel Customer Support 

0 Kudos
AGupt112
Beginner
1,674 Views

Hello Alfred,

 

Thanks for reply.

.

I opened the link and followed your instruction. After login it gives a message:

"You don't have access to IPS. Please contact FAE to get access".

 

To whom shall I ask for permission ?

 

Thanks,

Anand

0 Kudos
AlfredoS_Intel
Moderator
1,674 Views

Hi AGupt112 ,

Thank you for the update.

Do you have an Intel contact person for the project that you are conducting?

Best regards,

 

Alfred S

 

Intel Customer Support 

 

0 Kudos
AGupt112
Beginner
1,674 Views

Hello Alfred,

We do not have an intel contact person for the project.

How shall I proceed further with the case ?

 

Thanks,

Anand

0 Kudos
AlfredoS_Intel
Moderator
1,674 Views

Hello AGupt112,

Please allow me some time to check on this. I will get back to you no later than May 26, 2020.

Thank you for your understanding.

Best regards,

 

Alfred S

 

Intel Customer Support 

 

0 Kudos
AlfredoS_Intel
Moderator
1,674 Views

Hello AGupt112,

As much as I would like to help you, you may need to consult with the group who sold you the intel ethernet adapter and the PKTgen DPDK.

Thank you for your understanding regarding this.

Best regards,

 Alfred S

 Intel Customer Support 

 

0 Kudos
AlfredoS_Intel
Moderator
1,674 Views

Hi AGupt112,

We have not heard from you yet, and we are reaching out to check if you need more time.

Should we not get your response, we will check back with you again after 3 business days.

If there is still no response, we may be forced to close the thread.

 

 

Best Regards,

Alfred S

Intel Customer Support

0 Kudos
AlfredoS_Intel
Moderator
1,674 Views

Hi AGupt112,

We are following up on your thread that is still open where you are inquiring about Intel® Ethernet Controller XL710 Series. We know that this is important for you to get your questions answered and it is also equally important for us to give you the right answers. Since we have not heard from you for several days, the case will automatically close.

You may want to post a new thread once you are ready to proceed with the issue.

Thank you for choosing Intel.

Best Regards,

Alfred S

Intel Customer Support

 

0 Kudos
Reply