DPDK usage discussions
 help / color / mirror / Atom feed
From: Dirk-Holger Lenz <dirk.lenz@ng4t.com>
To: "users@dpdk.org" <users@dpdk.org>
Subject: Re: [dpdk-users] i40e virtual function doesn't work on virtual machine
Date: Fri, 4 Aug 2017 14:56:58 +0200	[thread overview]
Message-ID: <3172013e-444f-0d26-64dc-b9671c386a1d@ng4t.com> (raw)
In-Reply-To: <6a4e8f84-d52e-53e8-04b1-42bc39f261ed@ng4t.com>

additional information to the i40e:

i40e 0000:82:00.1: fw 5.0.40043 api 1.5 nvm 5.05 0x80002892 1.1568.0


On 08/04/2017 02:47 PM, Dirk-Holger Lenz wrote:
> when for a virtual function running on a virtual machine
>
> rte_eth_dev_start() is called the dpdk returns an error
>
> and logs the following error messages:
>
> i40evf_execute_vf_cmd(): No response for 6
> i40evf_configure_vsi_queues(): Failed to execute command of 
> VIRTCHNL_OP_CONFIG_VSI_QUEUES
> i40evf_dev_start(): configure queues failed
>
> short time before it logged:
>
> i40evf_execute_vf_cmd(): No response for 28
> i40evf_disable_vlan_strip(): Failed to execute command of 
> VIRTCHNL_OP_DISABLE_VLAN_STRIPPING
>
> But this correlates to the log on the host:
>
> Aug  4 14:09:43 ng40x kernel: [12176.208968] i40e 0000:82:00.1: 
> Invalid message from VF 0, opcode 28, len 0
> Aug  4 14:09:48 ng40x kernel: [12181.414724] i40e 0000:82:00.1: 
> Invalid message from VF 1, opcode 28, len 0
>
> The host is running Ubuntu linux with kernel 4.8.0-45-lowlatency.
>
> The primary function of the i40e is driven by the linux kernel driver and
>
> 16 virtual functions are created.
>
> The virtual machine is running Ubuntu linux with kernel 
> 4.8.0-45-lowlatency as well.
>
> It is used dpdk 17.08rc4.
>
>
> When a similar scenario is used on the host directly using virtual 
> functions as well,
>
> the dpdk logs the VIRTCHNL_OP_DISABLE_VLAN_STRIPPING problem but not the
>
> VIRTCHNL_OP_CONFIG_VSI_QUEUES problem and it works fine.
>
>
> When I hardly make the i40evf_execute_vf_cmd() function return 0 the 
> virtual
>
> function starts and is able to transmit and receive packets at high rate.
>
> Here are the logs which are given in this case:
>
> i40evf_execute_vf_cmd(): No response for 28
> i40evf_execute_vf_cmd(): No response for 6
> i40evf_execute_vf_cmd(): No response for 7
> i40evf_execute_vf_cmd(): No response for 10
> i40evf_execute_vf_cmd(): No response for 8
> i40evf_execute_vf_cmd(): No response for 8
> i40evf_execute_vf_cmd(): No response for 14
>
> note: we are using a regression test scenario which was running every 
> night. the last
>
> good run we had Wednesday with dpdk 17.05. Then we switched to 
> 17.08rc3/rc4.
>
>

      reply	other threads:[~2017-08-04 12:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-04 12:47 Dirk-Holger Lenz
2017-08-04 12:56 ` Dirk-Holger Lenz [this message]

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=3172013e-444f-0d26-64dc-b9671c386a1d@ng4t.com \
    --to=dirk.lenz@ng4t.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).