[dpdk-users] i40e with DPDK exits abruptly in rte_eal_init()

Thomas Monjalon thomas.monjalon at 6wind.com
Fri Jan 22 11:12:53 CET 2016


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


More information about the users mailing list