From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <jyotisr5@googlemail.com>
Received: from mail-la0-x22c.google.com (mail-la0-x22c.google.com
 [IPv6:2a00:1450:4010:c03::22c])
 by dpdk.org (Postfix) with ESMTP id 2EEB3156
 for <dev@dpdk.org>; Wed, 13 Nov 2013 12:16:51 +0100 (CET)
Received: by mail-la0-f44.google.com with SMTP id ep20so213518lab.31
 for <dev@dpdk.org>; Wed, 13 Nov 2013 03:17:46 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=googlemail.com; s=20120113;
 h=mime-version:in-reply-to:references:date:message-id:subject:from:to
 :content-type; bh=4fNCTz6OME4QDmXrfkguKkcjaVfN7FmHfTAZkzIedHM=;
 b=tBPAigCexw89egFKvh3LkQOsl9SIiV4SgQzG8th2YY+I28v5yspoxsaBvwnuca3NuU
 +EQznPnIAll9m+nIU4PlIw/N59gcsPaHSAn/aGZ44dXkSaAKBi47Eu+eTxRxtxq+eNJf
 HjN4TAlMG/hPCYQvX8uE5mjYSfNAq3Je//Uc8mrLJ8q2dkqxy3AmqPaAFtyktFz5zNkT
 eTbQ9hgu7C4rUbYZ9kK+HSS4dUXptyI699cVtl+aYIiAX8pClT7NrSbynd8PqI3p5+MC
 PbZiU26Jo2lJsXBCWfTHYfoKKkzv2HMPXtP+7M/spA+R4UHvjaJ2DG3bi2DaoQB56IWX
 wYnw==
MIME-Version: 1.0
X-Received: by 10.152.202.167 with SMTP id kj7mr677209lac.43.1384341466143;
 Wed, 13 Nov 2013 03:17:46 -0800 (PST)
Received: by 10.112.168.98 with HTTP; Wed, 13 Nov 2013 03:17:46 -0800 (PST)
In-Reply-To: <20131105160437.GK26200@debian>
References: <CAJn5u1mMHhg+k4ExoSCJinWUvBTXhkcJK=d9JXnSruFZ6e=HSg@mail.gmail.com>
 <20131105122319.GA26200@debian>
 <CAJn5u1m5wgm3XrNGCkpgQSnLeVeoTQ=BGJHuuATpuaZZmUSYhQ@mail.gmail.com>
 <20131105160437.GK26200@debian>
Date: Wed, 13 Nov 2013 16:47:46 +0530
Message-ID: <CAJn5u1kz=y533NXeP=h49TRbn75U3aEA0DG7Lby=b4P++X5qsA@mail.gmail.com>
From: Jyotiswarup Raiturkar <jyotisr5@googlemail.com>
To: Jyotiswarup Raiturkar <jyotisr5@googlemail.com>,
 "dev@dpdk.org" <dev@dpdk.org>
Content-Type: text/plain; charset=ISO-8859-1
X-Content-Filtered-By: Mailman/MimeDel 2.1.15
Subject: Re: [dpdk-dev] pci_unbind.py failure
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: patches and discussions about DPDK <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Wed, 13 Nov 2013 11:16:51 -0000

hi

I got my application running inside a vm (vmplayer) where the VM emulates a
e1000 NIC (82545EM). But rte_eth_dev_count() seems to return 0.. From the
website looks like it's a supported NIC . My lspci and pci_ubind status is
below. Any pointers?

# ./tools/pci_unbind.py --status

Network devices using IGB_UIO driver
====================================
0000:02:06.0 '82545EM Gigabit Ethernet Controller (Copper)' drv=igb_uio
unused=e1000

Network devices using kernel driver
===================================
0000:02:01.0 '79c970 [PCnet32 LANCE]' if=eth1 drv=pcnet32 unused= *Active*

Other network devices
=====================
<none>


# lspci -vt
-[0000:00]-+-00.0  Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge
           +-01.0-[01]--
           +-07.0  Intel Corporation 82371AB/EB/MB PIIX4 ISA
           +-07.1  Intel Corporation 82371AB/EB/MB PIIX4 IDE
           +-07.3  Intel Corporation 82371AB/EB/MB PIIX4 ACPI
           +-07.7  VMware Virtual Machine Communication Interface
           +-0f.0  VMware SVGA II Adapter
           +-10.0  LSI Logic / Symbios Logic 53c1030 PCI-X Fusion-MPT Dual
Ultra320 SCSI
           +-11.0-[02]--+-00.0  VMware USB1.1 UHCI Controller
           |            +-01.0  Advanced Micro Devices [AMD] 79c970
[PCnet32 LANCE]
           |            +-02.0  Ensoniq ES1371 [AudioPCI-97]
           |            +-03.0  VMware USB2 EHCI Controller
           |            +-05.0  VMware Device 07e0
           |            \-06.0  Intel Corporation 82545EM Gigabit Ethernet
Controller (Copper)
           +-15.0-[03]--
           +-15.1-[04]--
           +-15.2-[05]--
           +-15.3-[06]--
           +-15.4-[07]--
           +-15.5-[08]--
           +-15.6-[09]--
           +-15.7-[0a]--
           +-16.0-[0b]--
           +-16.1-[0c]--
           +-16.2-[0d]--
           +-16.3-[0e]--
           +-16.4-[0f]--
           +-16.5-[10]--
           +-16.6-[11]--
           +-16.7-[12]--
           +-17.0-[13]--
           +-17.1-[14]--
           +-17.2-[15]--
           +-17.3-[16]--
           +-17.4-[17]--
           +-17.5-[18]--
           +-17.6-[19]--
           +-17.7-[1a]--
           +-18.0-[1b]--
           +-18.1-[1c]--
           +-18.2-[1d]--
           +-18.3-[1e]--
           +-18.4-[1f]--
           +-18.5-[20]--
           +-18.6-[21]--
           \-18.7-[22]--


Regards
Jyotiswarup


On Tue, Nov 5, 2013 at 9:34 PM, Cyril Cressent <cyril.cressent@intel.com>wrote:

> On Tue, Nov 05, 2013 at 08:01:06PM +0530, Jyotiswarup Raiturkar wrote:
>
> > Thanks for the quick reply. I saw some definitions of e1000_phy_82579
> hence
> > I thought (hoped) the NIC would be supported. I will try to run my dpdk
> app
> > inside a VM with an emulated e1000 NIC (just to test the code ..).
>
> As a general rule, even if you find references to a NIC in the poll mode
> drivers, if it's not listed in
> lib/librte_eal/common/include/rte_pci_dev_ids.h
> then consider the NIC as not supported.
>
> Good luck with the VM,
>
> Cyril
>