From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf0-f44.google.com (mail-lf0-f44.google.com [209.85.215.44]) by dpdk.org (Postfix) with ESMTP id B7BFD23C for ; Tue, 24 Apr 2018 11:23:50 +0200 (CEST) Received: by mail-lf0-f44.google.com with SMTP id b23-v6so19229143lfg.4 for ; Tue, 24 Apr 2018 02:23:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=/csATpWtlxDbL8PWCmElpyyGMls/FD6rWyoYgSBGDog=; b=kxz8aB0GJxdIQdn2ACdlTox9fJqhZb5q+4Raxb/P+yvBAfjYVLWWi7Qx3BAvFZF+nS S6Vs1GEJCo7HR9Wczpq9LRB4ltHnGB2XMiMOL1UaGHWjLBmypdMH8P/8DowsvtsQRvZZ veUSqpCzPoQsgrA8b97Bp+qbQOcPIkY8P/PJtorz7Wp2k0WR+ou2mydsbxs+ujYLPo+z a0O5xsKqRvUeWKlcoYtA2GfaQBl8wsEXR01NrbsboRxTRqc6cEdeupkPisIT0m37dAuP cn/PFN0YlIxPuVz4qS5+rO/KF1fdv0Dj40YNfDEvuYjYm8/8n2SVG3RnzkAsbjHBp3Ho iaAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=/csATpWtlxDbL8PWCmElpyyGMls/FD6rWyoYgSBGDog=; b=KNdLtQFF7/fAtPLMT/N/Cl6jhZH58ByaneufgRGe9qUggXW3moMcTsffgS7VVz1bwu eZNj20gaYNfzgXfrT/DP3sNCQRint8dEqOKHkxPI/CS5dOHBuBqiZK+VrKuD9TPslyvD cEVA5+qPjAYP2Mr2um0mPcQltDl8EZ+GgWIBV2s+pdUMMbuHf09xg2GtE91FKUj5CTuQ lw6xUYc9VcwlfAWxpA+WR106J/ToJGFztLX0wccHAfwErBrVFuFDkMDJqe4LpR+uty2J EVFCQUMU8vDx/8MRTtqBoq7635bGggYzivcyYMsSK04k1rTa4Iwk53pJqn1lcc4/Te8Q AfMA== X-Gm-Message-State: ALQs6tAFzLGlJvQjvw+88ErU0yDk3Y0VFYuHG4PNM0l5JeA0AmOVfT6+ CRffr/pPelCToFhWyZ5yUeqDM+5rSeXtFbotaCw= X-Google-Smtp-Source: AIpwx4/FROOH+c07ixz+4kPwHg0f+oXTpQHJ1CEQjgCnVFb2nUgFKrrE/jtM7/7dqsIli/XYb6RpHP9uHeKKSHwf6HY= X-Received: by 10.46.127.10 with SMTP id a10mr10633957ljd.78.1524561830001; Tue, 24 Apr 2018 02:23:50 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a19:d7e3:0:0:0:0:0 with HTTP; Tue, 24 Apr 2018 02:23:49 -0700 (PDT) In-Reply-To: <20180423220611.6ef54ef6@xeon-e3> References: <9B0331B6EBBD0E4684FBFAEDA55776F958894836@HASMSX110.ger.corp.intel.com> <20180423220611.6ef54ef6@xeon-e3> From: venkataprasad k Date: Tue, 24 Apr 2018 14:53:49 +0530 Message-ID: To: Stephen Hemminger Cc: "Rosen, Rami" , "users@dpdk.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] testpmd + EAL: No probed ethernet devices + dpdk-17.11.1 X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Apr 2018 09:23:50 -0000 I believe these are supported by DPDK. here is the lspci output. [root@localhost dpdk-stable-17.11.1]# lspci -nn | grep 155d 03:00.0 Ethernet controller [0200]: Intel Corporation Ethernet Server Bypass Adapter [8086:155d] (rev 01) 03:00.1 Ethernet controller [0200]: Intel Corporation Ethernet Server Bypass Adapter [8086:155d] (rev 01) 05:00.0 Ethernet controller [0200]: Intel Corporation Ethernet Server Bypass Adapter [8086:155d] (rev 01) 05:00.1 Ethernet controller [0200]: Intel Corporation Ethernet Server Bypass Adapter [8086:155d] (rev 01) 41:00.0 Ethernet controller [0200]: Intel Corporation Ethernet Server Bypass Adapter [8086:155d] (rev 01) 41:00.1 Ethernet controller [0200]: Intel Corporation Ethernet Server Bypass Adapter [8086:155d] (rev 01) 45:00.0 Ethernet controller [0200]: Intel Corporation Ethernet Server Bypass Adapter [8086:155d] (rev 01) 45:00.1 Ethernet controller [0200]: Intel Corporation Ethernet Server Bypass Adapter [8086:155d] (rev 01) Network devices using DPDK-compatible driver =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 0000:03:00.0 'Ethernet Server Bypass Adapter 155d' drv=3Digb_uio unused=3D 0000:03:00.1 'Ethernet Server Bypass Adapter 155d' drv=3Digb_uio unused=3D 0000:05:00.0 'Ethernet Server Bypass Adapter 155d' drv=3Digb_uio unused=3D 0000:05:00.1 'Ethernet Server Bypass Adapter 155d' drv=3Digb_uio unused=3D 0000:41:00.0 'Ethernet Server Bypass Adapter 155d' drv=3Digb_uio unused=3D 0000:41:00.1 'Ethernet Server Bypass Adapter 155d' drv=3Digb_uio unused=3D 0000:45:00.0 'Ethernet Server Bypass Adapter 155d' drv=3Digb_uio unused=3D 0000:45:00.1 'Ethernet Server Bypass Adapter 155d' drv=3Digb_uio unused=3D Thanks, Venkat On Tue, Apr 24, 2018 at 10:36 AM, Stephen Hemminger < stephen@networkplumber.org> wrote: > On Tue, 24 Apr 2018 09:44:54 +0530 > venkataprasad k wrote: > > > Hi Rami, > > > > Thanks for your reply. > > yes. i already did the binding and here is the output. > > [root@localhost dpdk-stable-17.11.1]# ./usertools/dpdk-devbind.py -s > > > > Network devices using DPDK-compatible driver > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > 0000:03:00.0 'Ethernet Server Bypass Adapter 155d' drv=3Dvfio-pci unuse= d=3D > > 0000:03:00.1 'Ethernet Server Bypass Adapter 155d' drv=3Dvfio-pci unuse= d=3D > > 0000:05:00.0 'Ethernet Server Bypass Adapter 155d' drv=3Dvfio-pci unuse= d=3D > > 0000:05:00.1 'Ethernet Server Bypass Adapter 155d' drv=3Dvfio-pci unuse= d=3D > > 0000:41:00.0 'Ethernet Server Bypass Adapter 155d' drv=3Dvfio-pci unuse= d=3D > > 0000:41:00.1 'Ethernet Server Bypass Adapter 155d' drv=3Dvfio-pci unuse= d=3D > > 0000:45:00.0 'Ethernet Server Bypass Adapter 155d' drv=3Dvfio-pci unuse= d=3D > > 0000:45:00.1 'Ethernet Server Bypass Adapter 155d' drv=3Dvfio-pci unuse= d=3D > > > > Network devices using kernel driver > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > 0000:01:00.0 'I350 Gigabit Network Connection 1521' if=3Denp1s0f0 drv= =3Digb > > unused=3Dvfio-pci *Active* > > 0000:01:00.1 'I350 Gigabit Network Connection 1521' if=3Denp1s0f1 drv= =3Digb > > unused=3Dvfio-pci > > 0000:01:00.2 'I350 Gigabit Network Connection 1521' if=3Denp1s0f2 drv= =3Digb > > unused=3Dvfio-pci > > 0000:01:00.3 'I350 Gigabit Network Connection 1521' if=3Denp1s0f3 drv= =3Digb > > unused=3Dvfio-pci > > > > Other Network devices > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > > > > similarly tried with igb_uio as well, but i see the same result ( "EAL: > No > > probed ethernet devices" ) > > > > Thanks, > > Venkat > > > > > > On Mon, Apr 23, 2018 at 9:55 PM, Rosen, Rami > wrote: > > > > > Hi, > > > You need to bind a device to DPDK before launching testpmd, with the > > > usertools/dpdk-devbind.py script. Did you do it? What is the output > > > of > > > ./usertools/dpdk-devbind.py -s > > > on your host ? do you see any entries under "Network devices using > > > DPDK-compatible driver" when running ./usertools/dpdk-devbind.py -s? > > > > > > Please take a look in the "Linux Getting Started Guide", section > > > 4.4: "Binding and Unbinding Network Ports to/from the Kernel Modules" > > > > > > http://dpdk.org/doc/guides/linux_gsg/linux_drivers.html# > > > binding-and-unbinding-network-ports-to-from-the-kernel-modules > > > > > > Regards, > > > Rami Rosen > > > > > > > > > > > > -----Original Message----- > > > From: users [mailto:users-bounces@dpdk.org] On Behalf Of > venkataprasad k > > > Sent: Monday, April 23, 2018 15:35 > > > To: users@dpdk.org > > > Subject: [dpdk-users] testpmd + EAL: No probed ethernet devices + > > > dpdk-17.11.1 > > > > > > Hello, > > > > > > I am trying to run testpmd application and getting the following erro= r > > > "EAL: No probed ethernet devices" > > > > > > version: dpdk-stable-17.11.1 > > > Log: > > > [root@localhost dpdk-stable-17.11.1]# ./build/app/testpmd =E2=80=93l > 12,13,14 =E2=80=93n > > > 4 > > > -- -i > > > EAL: Detected 80 lcore(s) > > > EAL: No free hugepages reported in hugepages-1048576kB > > > EAL: Probing VFIO support... > > > EAL: VFIO support initialized > > > EAL: PCI device 0000:01:00.0 on NUMA socket 0 > > > EAL: probe driver: 8086:1521 net_e1000_igb > > > EAL: PCI device 0000:01:00.1 on NUMA socket 0 > > > EAL: probe driver: 8086:1521 net_e1000_igb > > > EAL: PCI device 0000:01:00.2 on NUMA socket 0 > > > EAL: probe driver: 8086:1521 net_e1000_igb > > > EAL: PCI device 0000:01:00.3 on NUMA socket 0 > > > EAL: probe driver: 8086:1521 net_e1000_igb > > > *EAL: No probed ethernet devices* > > > Interactive-mode selected > > > USER1: create a new mbuf pool : n=3D779456, > size=3D2176, > > > socket=3D0 > > > USER1: create a new mbuf pool : n=3D779456, > size=3D2176, > > > socket=3D1 > > > USER1: create a new mbuf pool : n=3D779456, > size=3D2176, > > > socket=3D2 > > > USER1: create a new mbuf pool : n=3D779456, > size=3D2176, > > > socket=3D3 > > > Done > > > testpmd> show config fwd > > > io packet forwarding - ports=3D0 - cores=3D0 - streams=3D0 - NUMA sup= port > > > enabled, MP over anonymous pages disabled > > > > > > testpmd> > > > > > > > > > from the dpdk-setup script, i see there are devices supported by dpdk > > > > > > Network devices using DPDK-compatible driver > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > 0000:03:00.0 'Ethernet Server Bypass Adapter 155d' drv=3Dvfio-pci unu= sed=3D > > > 0000:03:00.1 'Ethernet Server Bypass Adapter 155d' drv=3Dvfio-pci unu= sed=3D > > > 0000:05:00.0 'Ethernet Server Bypass Adapter 155d' drv=3Dvfio-pci unu= sed=3D > > > 0000:05:00.1 'Ethernet Server Bypass Adapter 155d' drv=3Dvfio-pci unu= sed=3D > > > 0000:41:00.0 'Ethernet Server Bypass Adapter 155d' drv=3Dvfio-pci unu= sed=3D > > > 0000:41:00.1 'Ethernet Server Bypass Adapter 155d' drv=3Dvfio-pci unu= sed=3D > > > 0000:45:00.0 'Ethernet Server Bypass Adapter 155d' drv=3Dvfio-pci unu= sed=3D > > > 0000:45:00.1 'Ethernet Server Bypass Adapter 155d' drv=3Dvfio-pci unu= sed=3D > > > > > > Network devices using kernel driver > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > 0000:01:00.0 'I350 Gigabit Network Connection 1521' if=3Denp1s0f0 drv= =3Digb > > > unused=3Dvfio-pci *Active* > > > 0000:01:00.1 'I350 Gigabit Network Connection 1521' if=3Denp1s0f1 drv= =3Digb > > > unused=3Dvfio-pci > > > 0000:01:00.2 'I350 Gigabit Network Connection 1521' if=3Denp1s0f2 drv= =3Digb > > > unused=3Dvfio-pci > > > 0000:01:00.3 'I350 Gigabit Network Connection 1521' if=3Denp1s0f3 drv= =3Digb > > > unused=3Dvfio-pci > > > > > > Other Network devices > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > > > > > > > My understanding is, it should consider the devices under "Network > devices > > > using DPDK-compatible driver", but it is not. > > > The nic that i am using Intel 82599, which is supported by dpdk. > > > > > > can someone help me to understand what is wrong here? > > > > > > Thanks, > > > Venkat > > > > > Check the PCI id's of the devices. I have seen in older releases > where there are some subtypes of Intel Ethernet devices > which are supported by Linux kernel, but not yet in DPDK driver table > (and in some cases small changes to MAC code are needed). >