From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from rcdn-iport-6.cisco.com (rcdn-iport-6.cisco.com [173.37.86.77]) by dpdk.org (Postfix) with ESMTP id 8AC48684A for ; Sat, 18 May 2013 02:10:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=12795; q=dns/txt; s=iport; t=1368835805; x=1370045405; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=uBFkf1VGvuUiKjHdfarIlPfuvseRfvO1JuTB0fJle5A=; b=CmE5esJu2AlSjExmqoJHtZyHUKNPao3KW60mB0zGD7m1HTtxI2lX3Kxm 4EU247go739UYQMC6pFR406/+zDC5fntCBvJrXa9qLeOHfiZ++anwVBrZ AqLKgheLjg7BoD8r3C5maYOtvAPv+eYUtY8tq40uJO/loSPHkOwguM+IS U=; X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ag0FAJrGllGtJV2Y/2dsb2JhbABbgkREMMFPgQQWdIIfAQEBAgItTBACAQgRBAEBCx0HMhQDBggCBA4FCIgEDL12jW+BAQ8iBgEGgm1hA6FThyWDD4FxNQ X-IronPort-AV: E=Sophos;i="4.87,695,1363132800"; d="scan'208,217";a="211971166" Received: from rcdn-core-1.cisco.com ([173.37.93.152]) by rcdn-iport-6.cisco.com with ESMTP; 18 May 2013 00:09:48 +0000 Received: from xhc-aln-x15.cisco.com (xhc-aln-x15.cisco.com [173.36.12.89]) by rcdn-core-1.cisco.com (8.14.5/8.14.5) with ESMTP id r4I09lg2002193 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Sat, 18 May 2013 00:09:48 GMT Received: from xmb-aln-x05.cisco.com ([169.254.11.52]) by xhc-aln-x15.cisco.com ([173.36.12.89]) with mapi id 14.02.0318.004; Fri, 17 May 2013 19:09:47 -0500 From: "Rui Vaz (ruvaz)" To: Henry Wang Thread-Topic: [dpdk-dev] rte_eth_dev_count() returns 0 Thread-Index: AQHOTRxLRMe9+1+RZ0K2PTR5yAogVJkKHTrg Date: Sat, 18 May 2013 00:09:46 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.154.212.55] Content-Type: multipart/alternative; boundary="_000_AFCFCEB8EB0E24448E4EB95988BA1E531FA2F367xmbalnx05ciscoc_" MIME-Version: 1.0 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] rte_eth_dev_count() returns 0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 May 2013 00:10:02 -0000 --_000_AFCFCEB8EB0E24448E4EB95988BA1E531FA2F367xmbalnx05ciscoc_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Henry, Thank you very much for your help. I have a I350 chipset based NIC, can you tell me why I will not be able to = run l2fwd or l3fwd successfully with SR-IOV enabled in ESXi? Thank you, Rui From: Henry Wang [mailto:wang_hr@neusoft.com] Sent: Thursday, May 09, 2013 6:18 PM To: Rui Vaz (ruvaz) Cc: dev@dpdk.org Subject: Re: [dpdk-dev] rte_eth_dev_count() returns 0 As far as I known, DPDK(1.2.3) only supports the following NICs: (1) Intel 82576, 82580, I350 chipset based NICs; (2) Intel 82599, X540T, X520T chipset based NICs; (3) virtual NICs generated by SR-IOV from (2). If the NICs on your C220 M3 is one of (2), you can run l2fwdvf OR l3fwdvf s= uccessfully with SR-IOV enabled in ESXi. And I do not know wheather ESXi 5.0 VMM has SR-IOV function or not. Further more, please reference to DPDK release notes. http://www.intel.com/content/dam/www/public/us/en/documents/release-notes/i= ntel-dpdk-release-notes.pdf On Fri, May 10, 2013 at 9:00 AM, Rui Vaz (ruvaz) > wrote: Hi dev-dpdk, I am following a Intel DPDK Step by Step Instruction found here: http://www= .slideshare.net/hisaki/intel-dpdk-step-by-step-instructions My Hello app from the DPDK examples runs fine, but I get the following erro= r when running the l2fwd app: "EAL: Error - exiting with code: 1 Cause: no Ethernet ports - bye" The rte_eth_dev_count() call returns 0, I am using a CentOS 6.3 Virtual Mac= hine on VMWare esxi 5.0 on a Cisco UCS C220 M3 which comes with Xeon E5-260= 0. I would really appreciate If you could provide some help to solve this issu= e. Thank you, Rui ---------------------------------------------------------------------------= ------------------------ Confidentiality Notice: The information contained in this e-mail and any ac= companying attachment(s) is intended only for the use of the intended recipient and may be confident= ial and/or privileged of Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader = of this communication is not the intended recipient, unauthorized use, forwarding, printing, storin= g, disclosure or copying is strictly prohibited, and may be unlawful.If you have received this commu= nication in error,please immediately notify the sender by return e-mail, and delete the original mes= sage and all copies from your system. Thank you. ---------------------------------------------------------------------------= ------------------------ --_000_AFCFCEB8EB0E24448E4EB95988BA1E531FA2F367xmbalnx05ciscoc_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi Henry,

 <= /p>

Thank you very much for y= our help.

 <= /p>

I have a I350 chipset bas= ed NIC, can you tell me why I will not be able to run l2fwd or l3fwd succes= sfully with SR-IOV enabled in ESXi?

 <= /p>

Thank you,

Rui

 <= /p>

From: Henry Wa= ng [mailto:wang_hr@neusoft.com]
Sent: Thursday, May 09, 2013 6:18 PM
To: Rui Vaz (ruvaz)
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] rte_eth_dev_count() returns 0

 

As far as I known, DPDK(1.2.3) only supports the following NI= Cs:

(1) Intel 82576, 82580, I350 chipset based NICs;

(2) Intel 82599, X540T, X520T chipset based NICs;<= /span>

(3) virtual NICs generated by SR-IOV from (2).

 

If the NICs on your C220 M3 is one of (2), you can run l2fwdv= f OR l3fwdvf successfully with SR-IOV enabled in ESXi.

And I do not know wheather ESXi 5.0 VMM has SR-IOV function o= r not.

 

Further more, please reference to DPDK release notes.

 

 

On Fri, May 10, 2013 at 9:00 AM, Rui Vaz (ruvaz) <= ;ruvaz@cisco.com&g= t; wrote:

Hi dev-dpdk,

 

I am following a Intel DPDK Step by Step Instruction found here: http://www.slideshare.net/hisaki/intel-dpdk-step-by-step-instructions

My Hello app from the DPDK examples runs fine, but I get the follo= wing error when running the l2fwd app:

 

“EAL: Error – exiting with code: 1

Cause: no Ethernet ports – bye”

 

The rte_eth_dev_count() call returns 0, I am using a CentOS 6.3 Vi= rtual Machine on VMWare esxi 5.0 on a Cisco UCS C220 M3 which comes with Xeon E5-2600.  

 

I would really appreciate If you could provide some help to solve = this issue.

 

Thank you,

Rui

 

 

------------------------------------------------------------------------= ---------------------------
Confidentiality Notice: The information contained in this e-mail and any ac= companying attachment(s)
is intended only for the use of the intended recipient and may be confident= ial and/or privileged of
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader = of this communication is
not the intended recipient, unauthorized use, forwarding, printing,  s= toring, disclosure or copying
is strictly prohibited, and may be unlawful.If you have received this commu= nication in error,please
immediately notify the sender by return e-mail, and delete the original mes= sage and all copies from
your system. Thank you.
---------------------------------------------------------------------------= ------------------------

--_000_AFCFCEB8EB0E24448E4EB95988BA1E531FA2F367xmbalnx05ciscoc_--