DPDK usage discussions
 help / color / mirror / Atom feed
From: Anand Gupta <anand.gupta@keysight.com>
To: "users@dpdk.org" <users@dpdk.org>
Subject: [dpdk-users] API version mismatch error for intel XL710 Sriov when running multiple Pktgen DPDK in parallel for same PF.
Date: Tue, 19 May 2020 04:44:10 +0000	[thread overview]
Message-ID: <CH2PR17MB3782171777A60F382379A2D99EB90@CH2PR17MB3782.namprd17.prod.outlook.com> (raw)

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


                 reply	other threads:[~2020-05-19  4:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CH2PR17MB3782171777A60F382379A2D99EB90@CH2PR17MB3782.namprd17.prod.outlook.com \
    --to=anand.gupta@keysight.com \
    --cc=users@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).