DPDK usage discussions
 help / color / mirror / Atom feed
From: Saurabh Mishra <saurabh.globe@gmail.com>
To: users@dpdk.org
Subject: [dpdk-users] i40e with DPDK exits abruptly in rte_eal_init()
Date: Thu, 21 Jan 2016 14:54:34 -0800	[thread overview]
Message-ID: <CAMnwyJ16noNS5d+iRLPJyeZLp6j3ffPVGqDDtUx8+X+usccRsQ@mail.gmail.com> (raw)

Hi,

We have noticed that i40e if we do PCI-pass through of whole NIC to VM on
ESXi 6.0, the DPDK exits abruptly in rte_eal_init()?

We are passing following parameters:

    char *eal_argv[] = {"fakeelf",

                        "-c2",

                        "-n4",

                        "--proc-type=primary",};


int ret = rte_eal_init(4, eal_argv);

The code works with Intel '82599ES 10-Gigabit SFI/SFP+ ' adapter in
PCI-passthrough or SR-IOV mode however i40e it does not work.

[root@localhost:~] esxcfg-nics -l

[.]

vmnic6  0000:07:00.0 i40e        Up   10000Mbps Full   3c:fd:fe:04:11:c0
1500   Intel Corporation Ethernet Controller X710 for 10GbE SFP+

vmnic7  0000:07:00.1 i40e        Up   10000Mbps Full   3c:fd:fe:04:11:c2
1500   Intel Corporation Ethernet Controller X710 for 10GbE SFP+


We have turned on following config in DPDK:

CONFIG_RTE_PCI_CONFIG=y

CONFIG_RTE_PCI_EXTENDED_TAG="on"
CONFIG_RTE_LIBRTE_I40E_16BYTE_RX_DESC=y


Is there any special handling in DPDK for i40e adapter in terms of config?

Thanks,

/Saurabh

             reply	other threads:[~2016-01-21 22:54 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-21 22:54 Saurabh Mishra [this message]
2016-01-22 10:12 ` Thomas Monjalon
2016-01-22 17:29   ` Saurabh Mishra
2016-01-24  3:16     ` Zhang, Helin
2016-01-25  1:17       ` Xu, Qian Q
2016-01-25 17:20         ` Saurabh Mishra
2016-01-26  1:09           ` Xu, Qian Q
2016-01-26  1:36             ` Saurabh Mishra
2016-01-26  1:40               ` Xu, Qian Q
2016-01-26  1:48                 ` Saurabh Mishra

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=CAMnwyJ16noNS5d+iRLPJyeZLp6j3ffPVGqDDtUx8+X+usccRsQ@mail.gmail.com \
    --to=saurabh.globe@gmail.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).