From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-outbound-1.vmware.com (smtp-outbound-1.vmware.com [208.91.2.12]) by dpdk.org (Postfix) with ESMTP id 6DA1968E2 for ; Fri, 10 May 2013 18:05:08 +0200 (CEST) Received: from sc9-mailhost1.vmware.com (sc9-mailhost1.vmware.com [10.113.161.71]) by smtp-outbound-1.vmware.com (Postfix) with ESMTP id 84255287DC; Fri, 10 May 2013 09:05:08 -0700 (PDT) Received: from zcs-prod-mta-3.vmware.com (zcs-prod-mta-3.vmware.com [10.113.163.65]) by sc9-mailhost1.vmware.com (Postfix) with ESMTP id 7751C18756; Fri, 10 May 2013 09:05:08 -0700 (PDT) Received: from zcs-prod-mta-3.vmware.com (localhost.localdomain [127.0.0.1]) by zcs-prod-mta-3.vmware.com (Postfix) with ESMTP id 6CD43E0132; Fri, 10 May 2013 09:05:08 -0700 (PDT) Received: from zcs-prod-mbox-7.vmware.com (lbv-sc9-t2prod2-int.vmware.com [10.113.160.246]) by zcs-prod-mta-3.vmware.com (Postfix) with ESMTP; Fri, 10 May 2013 09:05:08 -0700 (PDT) Date: Fri, 10 May 2013 09:05:08 -0700 (PDT) From: Bhavesh Davda To: Henry Wang Message-ID: <1676591087.5291867.1368201908283.JavaMail.root@vmware.com> In-Reply-To: References: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5291866_1539894212.1368201908282" X-Originating-IP: [10.113.163.67] X-Mailer: Zimbra 8.0.3_GA_5664 (ZimbraWebClient - GC26 (Mac)/8.0.3_GA_5664) Thread-Topic: rte_eth_dev_count() returns 0 Thread-Index: GhbSsSPm770mmNv58PZXwfF4Zp5QWw== 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: Fri, 10 May 2013 16:05:09 -0000 ------=_Part_5291866_1539894212.1368201908282 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable ESXi 5.0 doesn't have SR-IOV support (it's in the code, but is disabled and= not usable for customers). VMware introduced SR-IOV support, including out= of the box support for Intel Niantic 10GbE NICs, in ESXi 5.1.=20 --=20 Bhavesh Davda=20 ----- Original Message ----- > From: "Henry Wang" > To: "Rui Vaz (ruvaz)" > Cc: dev@dpdk.org > Sent: Thursday, May 9, 2013 6:18:04 PM > 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 > successfully 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= /intel-dpdk-release-notes.pdf > On Fri, May 10, 2013 at 9:00 AM, Rui Vaz (ruvaz) < ruvaz@cisco.com > wrot= e: > > Hi dev-dpdk, >=20 > > I am following a Intel DPDK Step by Step Instruction found here: > > http://www.slideshare.net/hisaki/intel-dpdk-step-by-step-instructions >=20 > > My Hello app from the DPDK examples runs fine, but I get the following > > error > > when running the l2fwd app: >=20 > > =E2=80=9CEAL: Error =E2=80=93 exiting with code: 1 >=20 > > Cause: no Ethernet ports =E2=80=93 bye=E2=80=9D >=20 > > The rte_eth_dev_count() call returns 0, I am using a CentOS 6.3 Virtual > > Machine on VMWare esxi 5.0 on a Cisco UCS C220 M3 which comes with Xeon > > E5-2600. >=20 > > I would really appreciate If you could provide some help to solve this > > issue. >=20 > > Thank you, >=20 > > Rui >=20 > -------------------------------------------------------------------------= -------------------------- > Confidentiality Notice: The information contained in this e-mail and any > accompanying attachment(s) > is intended only for the use of the intended recipient and may be > confidential and/or privileged of > Neusoft Corporation, its subsidiaries and/or its affiliates. If any reade= r of > this communication is > not the intended recipient, unauthorized use, forwarding, printing, stori= ng, > disclosure or copying > is strictly prohibited, and may be unlawful.If you have received this > communication in error,please > immediately notify the sender by return e-mail, and delete the original > message and all copies from > your system. Thank you. > -------------------------------------------------------------------------= -------------------------- ------=_Part_5291866_1539894212.1368201908282 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
ESXi 5.0 doesn't have SR-IOV sup= port (it's in the code, but is disabled and not usable for customers). VMwa= re introduced SR-IOV support, including out of the box support for Intel Ni= antic 10GbE NICs, in ESXi 5.1.

--
Bhavesh Davda


From: "Henry Wang" <wang_hr@neusoft.com>
To: "Rui= Vaz (ruvaz)" <ruvaz@cisco.com>
Cc: dev@dpdk.org
Sent= : Thursday, May 9, 2013 6:18:04 PM
Subject: Re: [dpdk-dev] rt= e_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 o= f (2), you can run l2fwdvf OR l3fwdvf successfully with SR-IOV enabled in E= SXi.
And I do not know wheather ESXi 5.0 = VMM has SR-IOV function or not.

Further= more, please reference to DPDK release notes.



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

Hi dev-dpdk,<= /span>

 =

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

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

 =

=E2=80=9CEAL: Error =E2=80=93 exiting with code: 1

Cause: no Ethernet ports =E2=80=93 bye=E2=80=9D

 =

The rte_eth_dev_count() call returns 0, I am using a= CentOS 6.3 Virtual 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.
---------------------------------------------------------------------------= ------------------------


------=_Part_5291866_1539894212.1368201908282--