From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Rui Vaz (ruvaz)" Subject: rte_eth_dev_count() returns 0 Date: Fri, 10 May 2013 01:00:52 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_000_AFCFCEB8EB0E24448E4EB95988BA1E531FA2EA0Dxmbalnx05ciscoc_" To: "dev-VfR2kkLFssw@public.gmane.org" Return-path: Content-Language: en-US List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" --_000_AFCFCEB8EB0E24448E4EB95988BA1E531FA2EA0Dxmbalnx05ciscoc_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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 --_000_AFCFCEB8EB0E24448E4EB95988BA1E531FA2EA0Dxmbalnx05ciscoc_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

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-instruction= s

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

 

“EAL: Error – exiting with code: 1<= /o:p>

Cause: no Ethernet ports – bye”

 

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

 

--_000_AFCFCEB8EB0E24448E4EB95988BA1E531FA2EA0Dxmbalnx05ciscoc_-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vincent JARDIN Subject: Re: rte_eth_dev_count() returns 0 Date: Fri, 10 May 2013 17:47:17 +0200 Message-ID: <518D1685.20500@6wind.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit To: dev-VfR2kkLFssw@public.gmane.org Return-path: In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" > 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. Can you run lspci -vt and send us the output? Best regards, Vincent From mboxrd@z Thu Jan 1 00:00:00 1970 From: Henry Wang Subject: Re: rte_eth_dev_count() returns 0 Date: Fri, 10 May 2013 09:18:04 +0800 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="047d7b5d300c848b9c04dc52f19a" Cc: "dev-VfR2kkLFssw@public.gmane.org" To: "Rui Vaz (ruvaz)" Return-path: In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" --047d7b5d300c848b9c04dc52f19a Content-Type: text/plain; charset="windows-1252" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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/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 > error when running the l2fwd app:**** > > ** ** > > =93EAL: Error =96 exiting with code: 1**** > > Cause: no Ethernet ports =96 bye=94**** > > ** ** > > 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, 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. = ---------------------------------------------------------------------------= ------------------------ --047d7b5d300c848b9c04dc52f19a Content-Type: text/html; charset="windows-1252" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable
= 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-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org> wrote:

Hi dev-dpdk,

=A0

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:

=A0

=93EAL: Error =96 exiting with code: 1=

Cause: no Ethernet ports =96 bye=94

=A0

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. =A0

=A0

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

=A0

Thank you,

Rui

=A0


------------------------------------------------------------------------= ---------------------------
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.
---------------------------------------------------------------------------= ------------------------

--047d7b5d300c848b9c04dc52f19a-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bhavesh Davda Subject: Re: rte_eth_dev_count() returns 0 Date: Fri, 10 May 2013 09:05:08 -0700 (PDT) Message-ID: <1676591087.5291867.1368201908283.JavaMail.root@vmware.com> References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5291866_1539894212.1368201908282" Cc: dev-VfR2kkLFssw@public.gmane.org To: Henry Wang Return-path: In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" ------=_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-VfR2kkLFssw@public.gmane.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-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org > 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-YYSg24PYQUdBDgjK7y7TUQ@public.gmane.org>
To: "Rui= Vaz (ruvaz)" <ruvaz-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org>
Cc: dev-VfR2kkLFssw@public.gmane.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-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org> 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-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: rte_eth_dev_count() returns 0 Date: Fri, 10 May 2013 09:15:49 -0700 Message-ID: <20130510091549.3c064df6@nehalam.linuxnetplumber.net> References: <1676591087.5291867.1368201908283.JavaMail.root@vmware.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Henry Wang , dev-VfR2kkLFssw@public.gmane.org To: Bhavesh Davda Return-path: In-Reply-To: <1676591087.5291867.1368201908283.JavaMail.root-pghWNbHTmq7QT0dZR+AlfA@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" On Fri, 10 May 2013 09:05:08 -0700 (PDT) Bhavesh Davda wrote: > 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. > You can use PCI passthrough (Directpath) on 5.0 (and 5.1). I found that SR-IOV on Vmware is even more fussy than SR-IOV on Linux. It requires a supported platform with VT-d and PCIe ASPM. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bhavesh Davda Subject: Re: rte_eth_dev_count() returns 0 Date: Fri, 10 May 2013 09:21:36 -0700 (PDT) Message-ID: <525534677.5312512.1368202896189.JavaMail.root@vmware.com> References: <1676591087.5291867.1368201908283.JavaMail.root@vmware.com> <20130510091549.3c064df6@nehalam.linuxnetplumber.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: Henry Wang , dev-VfR2kkLFssw@public.gmane.org To: Stephen Hemminger Return-path: In-Reply-To: <20130510091549.3c064df6-We1ePj4FEcvRI77zikRAJc56i+j3xesD0e7PPNI6Mm0@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" Right: VMware has supported VMDirectPath passthrough since ESXi 4.0, on any platform with an IOMMU (Intel VT-d) which is anything Nehalem Xeons or newer. I know this is a DPDK forum, but Stephen, if you know of specific limitations of ESXi 5.1's SR-IOV support, please let me know and I'll make sure we work on addressing them. -- Bhavesh Davda ----- Original Message ----- > From: "Stephen Hemminger" > To: "Bhavesh Davda" > Cc: "Henry Wang" , dev-VfR2kkLFssw@public.gmane.org > Sent: Friday, May 10, 2013 9:15:49 AM > Subject: Re: [dpdk-dev] rte_eth_dev_count() returns 0 > > On Fri, 10 May 2013 09:05:08 -0700 (PDT) > Bhavesh Davda wrote: > > > 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. > > > > You can use PCI passthrough (Directpath) on 5.0 (and 5.1). > I found that SR-IOV on Vmware is even more fussy than SR-IOV on Linux. > It requires a supported platform with VT-d and PCIe ASPM > From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: rte_eth_dev_count() returns 0 Date: Fri, 10 May 2013 11:44:50 -0700 Message-ID: <20130510114450.7104c5d2@nehalam.linuxnetplumber.net> References: <1676591087.5291867.1368201908283.JavaMail.root@vmware.com> <20130510091549.3c064df6@nehalam.linuxnetplumber.net> <525534677.5312512.1368202896189.JavaMail.root@vmware.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Henry Wang , dev-VfR2kkLFssw@public.gmane.org To: Bhavesh Davda Return-path: In-Reply-To: <525534677.5312512.1368202896189.JavaMail.root-pghWNbHTmq7QT0dZR+AlfA@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" On Fri, 10 May 2013 09:21:36 -0700 (PDT) Bhavesh Davda wrote: > Right: VMware has supported VMDirectPath passthrough since ESXi 4.0, on any platform with an IOMMU (Intel VT-d) which is anything Nehalem Xeons or newer. > > I know this is a DPDK forum, but Stephen, if you know of specific limitations of ESXi 5.1's SR-IOV support, please let me know and I'll make sure we work on addressing them. I had trouble getting it to work on a white box ASUS motherboard. It seems the MB didn't support PCIe power management ASPM. And Intel confirmed that was required by Vmware. Linux didn't care if ASPM wasn't available and worked fine with SR-IOV. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bhavesh Davda Subject: Re: rte_eth_dev_count() returns 0 Date: Fri, 10 May 2013 12:10:42 -0700 (PDT) Message-ID: <69354296.5541435.1368213042137.JavaMail.root@vmware.com> References: <1676591087.5291867.1368201908283.JavaMail.root@vmware.com> <20130510091549.3c064df6@nehalam.linuxnetplumber.net> <525534677.5312512.1368202896189.JavaMail.root@vmware.com> <20130510114450.7104c5d2@nehalam.linuxnetplumber.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: Henry Wang , dev-VfR2kkLFssw@public.gmane.org To: Stephen Hemminger Return-path: In-Reply-To: <20130510114450.7104c5d2-We1ePj4FEcvRI77zikRAJc56i+j3xesD0e7PPNI6Mm0@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" Hi Stephen, I checked both our hypervisor code and with the experts who wrote and maintain the code, and we don't have any such limitation about not supporting SR-IOV if the motherboard or device doesn't support PCIe ASPM. If you can point me to the Intel person(s) who gave you that information (offline, no need to make this public :)), we can make sure such FUD doesn't continue getting spread too far. Thanks for making us aware of this FUD though. -- Bhavesh Davda ----- Original Message ----- > From: "Stephen Hemminger" > To: "Bhavesh Davda" > Cc: "Henry Wang" , dev-VfR2kkLFssw@public.gmane.org > Sent: Friday, May 10, 2013 11:44:50 AM > Subject: Re: [dpdk-dev] rte_eth_dev_count() returns 0 > > On Fri, 10 May 2013 09:21:36 -0700 (PDT) > Bhavesh Davda wrote: > > > Right: VMware has supported VMDirectPath passthrough since ESXi 4.0, on any > > platform with an IOMMU (Intel VT-d) which is anything Nehalem Xeons or > > newer. > > > > I know this is a DPDK forum, but Stephen, if you know of specific > > limitations of ESXi 5.1's SR-IOV support, please let me know and I'll make > > sure we work on addressing them. > > I had trouble getting it to work on a white box ASUS motherboard. It seems > the MB didn't > support PCIe power management ASPM. And Intel confirmed that was required by > Vmware. > Linux didn't care if ASPM wasn't available and worked fine with SR-IOV > From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: rte_eth_dev_count() returns 0 Date: Fri, 10 May 2013 12:29:29 -0700 Message-ID: <20130510122929.0ff687aa@nehalam.linuxnetplumber.net> References: <1676591087.5291867.1368201908283.JavaMail.root@vmware.com> <20130510091549.3c064df6@nehalam.linuxnetplumber.net> <525534677.5312512.1368202896189.JavaMail.root@vmware.com> <20130510114450.7104c5d2@nehalam.linuxnetplumber.net> <69354296.5541435.1368213042137.JavaMail.root@vmware.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Henry Wang , dev-VfR2kkLFssw@public.gmane.org To: Bhavesh Davda Return-path: In-Reply-To: <69354296.5541435.1368213042137.JavaMail.root-pghWNbHTmq7QT0dZR+AlfA@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" On Fri, 10 May 2013 12:10:42 -0700 (PDT) Bhavesh Davda wrote: > Hi Stephen, > > I checked both our hypervisor code and with the experts who wrote and maintain the code, and we don't have any such limitation about not supporting SR-IOV if the motherboard or device doesn't support PCIe ASPM. > > If you can point me to the Intel person(s) who gave you that information (offline, no need to make this public :)), we can make sure such FUD doesn't continue getting spread too far. > > Thanks for making us aware of this FUD though. > > -- > Bhavesh Davda > According to Intel the problem was that the BIOS did not support _OSC table. SR-IOV needs VT-d enabled and BIOS with _OSC and DMA ACPI tables. The _OSC table is an ACPI control method that the kernel uses to interact with PCIe Active Statep Power Management. Linux just assume no ASPM if table is missing, VMWare ESX 5.1 seems to need it. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bhavesh Davda Subject: Re: rte_eth_dev_count() returns 0 Date: Fri, 10 May 2013 14:00:00 -0700 (PDT) Message-ID: <1681866850.5680257.1368219600105.JavaMail.root@vmware.com> References: <1676591087.5291867.1368201908283.JavaMail.root@vmware.com> <20130510091549.3c064df6@nehalam.linuxnetplumber.net> <525534677.5312512.1368202896189.JavaMail.root@vmware.com> <20130510114450.7104c5d2@nehalam.linuxnetplumber.net> <69354296.5541435.1368213042137.JavaMail.root@vmware.com> <20130510122929.0ff687aa@nehalam.linuxnetplumber.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: Henry Wang , dev-VfR2kkLFssw@public.gmane.org To: Stephen Hemminger Return-path: In-Reply-To: <20130510122929.0ff687aa-We1ePj4FEcvRI77zikRAJc56i+j3xesD0e7PPNI6Mm0@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" > From: "Stephen Hemminger" > Sent: Friday, May 10, 2013 12:29:29 PM > > On Fri, 10 May 2013 12:10:42 -0700 (PDT) > Bhavesh Davda wrote: > > > Hi Stephen, > > > > I checked both our hypervisor code and with the experts who wrote and > > maintain the code, and we don't have any such limitation about not > > supporting SR-IOV if the motherboard or device doesn't support PCIe ASPM. > > > > If you can point me to the Intel person(s) who gave you that information > > (offline, no need to make this public :)), we can make sure such FUD > > doesn't continue getting spread too far. > > > > Thanks for making us aware of this FUD though. > > > > -- > > Bhavesh Davda > > > > According to Intel the problem was that the BIOS did not support _OSC table. > SR-IOV needs VT-d enabled and BIOS with _OSC and DMA ACPI tables. > The _OSC table is an ACPI control method that the kernel uses to interact > with PCIe Active Statep Power Management. Linux just assume no ASPM if table > is missing, VMWare ESX 5.1 seems to need it > Once again, both in looking at our ACPI _OSC code in the hypervisor and in consulting with the experts, there is no such limitation for SR-IOV support in ESXi. Regards - Bhavesh From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Rui Vaz (ruvaz)" Subject: Re: rte_eth_dev_count() returns 0 Date: Sat, 18 May 2013 00:09:46 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_000_AFCFCEB8EB0E24448E4EB95988BA1E531FA2F367xmbalnx05ciscoc_" Cc: "dev-VfR2kkLFssw@public.gmane.org" To: Henry Wang Return-path: In-Reply-To: Content-Language: en-US List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" --_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-YYSg24PYQUdBDgjK7y7TUQ@public.gmane.org] Sent: Thursday, May 09, 2013 6:18 PM To: Rui Vaz (ruvaz) Cc: dev-VfR2kkLFssw@public.gmane.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-YYSg24PYQUdBDgjK7y7TUQ@public.gmane.org]
Sent: Thursday, May 09, 2013 6:18 PM
To: Rui Vaz (ruvaz)
Cc: dev-VfR2kkLFssw@public.gmane.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-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org&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_--