From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: Saurabh Mishra <saurabh.globe@gmail.com>
Cc: Helin Zhang <helin.zhang@intel.com>, users@dpdk.org
Subject: Re: [dpdk-users] i40e with DPDK exits abruptly in rte_eal_init()
Date: Fri, 22 Jan 2016 11:12:53 +0100 [thread overview]
Message-ID: <1802842.TfXaaEq7Xm@xps13> (raw)
In-Reply-To: <CAMnwyJ16noNS5d+iRLPJyeZLp6j3ffPVGqDDtUx8+X+usccRsQ@mail.gmail.com>
Hi,
Thanks for asking.
There are a couple of requests hidden in this message.
The maintainer of i40e is Helin (CC'ed).
2016-01-21 14:54, Saurabh Mishra:
> 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()?
This looks to be a bug report :)
> 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.
You probably have the feeling that i40e does not work as other PMDs,
maybe wondering what are the special extended PCI configs.
> [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?
So you had no help when reading the code comments neither in the doc.
Indeed the only doc about i40e is the SR-IOV VF page:
http://dpdk.org/doc/guides/nics/intel_vf.html
Please Helin, check the issue and the lack of documentation.
Thanks
next prev parent reply other threads:[~2016-01-22 10:13 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-21 22:54 Saurabh Mishra
2016-01-22 10:12 ` Thomas Monjalon [this message]
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=1802842.TfXaaEq7Xm@xps13 \
--to=thomas.monjalon@6wind.com \
--cc=helin.zhang@intel.com \
--cc=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).