From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) by dpdk.org (Postfix) with ESMTP id 7DE428E7A for ; Fri, 22 Jan 2016 11:13:54 +0100 (CET) Received: by mail-wm0-f52.google.com with SMTP id b14so124102325wmb.1 for ; Fri, 22 Jan 2016 02:13:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding :content-type; bh=QzyXJKKamKkLno2OmFVcn91iM5AIE0XcpOkh5wKkjw0=; b=Hanfrv5tDq/aKYyy48OwS+XtwK3uE8WtqMKkqDwPYUoaZ4OoZWKMyfhlf9QATFHKef Bzqt3/eVdaqdmz4wnmc/vPmw9zSAtt128exzv9D1wyJL6eqaJAYJQ483E+ZhJMvRtj6T hu4T3tLk+lJD+ksdxVD+XS5LOJkAYkBWxAk65Ph/N18SpdslsdHDHaeF8u3jviDls8hI pxigKZ2DoqH9ch7Dj9pOEeDJXga4/0PlawGmwtKNpK+pdQzppNwH+GGLvSw8YKfkbpkb AoRkRSspY1D6cVmAvjmB2K2IWDmpnQjPIl9HtBMMhRDLXMrK+pj0fecijSTZdJJGJvir sI3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=QzyXJKKamKkLno2OmFVcn91iM5AIE0XcpOkh5wKkjw0=; b=htxziwwZKBWhNMQjtU8rpo67mSofdy1WdF5JhjwI249cX8iEvgppyklO4oyOJJJeND Nqx46nerKINshiACf+jnY5mSjKsNKhPl3M2ovkR8mhlF1bF1V8PhFXYoEp1rvmvYvOPW EAGD0/ZL6zWAqgc0jsavvlgqAIo9aK24a8z1Nu2xAWmxhbJcSjRBAhWlFST8N82qYUkE TPN6YuFeV2iqiHdG3imYYe2x+qxil4b7fivcfBuK7X7D34BInsegNgNrrYXPsNARLPTL USxaJwfHDaGKGaiiX6HniDPmkRIcVKvlm5/palQIitvoJePOw22jWkbxVOveS3V6pxmP Nj7Q== X-Gm-Message-State: AG10YOS41FS1+B1ZM5KXEuuAVFr7JUY+d1bTSEb9xL/53OD+8yYICYxtvIuXwKc5rf/vpcDh X-Received: by 10.28.98.198 with SMTP id w189mr2465910wmb.39.1453457634195; Fri, 22 Jan 2016 02:13:54 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id lc3sm5257313wjb.7.2016.01.22.02.13.53 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 22 Jan 2016 02:13:53 -0800 (PST) From: Thomas Monjalon To: Saurabh Mishra Date: Fri, 22 Jan 2016 11:12:53 +0100 Message-ID: <1802842.TfXaaEq7Xm@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: Helin Zhang , users@dpdk.org Subject: Re: [dpdk-users] i40e with DPDK exits abruptly in rte_eal_init() X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2016 10:13:54 -0000 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