From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f179.google.com (mail-pf0-f179.google.com [209.85.192.179]) by dpdk.org (Postfix) with ESMTP id 22D4FE5D for ; Tue, 24 Apr 2018 07:06:15 +0200 (CEST) Received: by mail-pf0-f179.google.com with SMTP id f189so2126621pfa.7 for ; Mon, 23 Apr 2018 22:06:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=sMxm7eQaxuXcfYDAqsp6bWEE8Tgptif1MgcthlOL3iw=; b=fFatPqaC2cYSM4OqQMrlO9TM8A/C+Ng+PgmZ4cSkbKhEIMYeClFDU/zA2OwC9mxIiQ nNAFB62LTE/LMfOQyo1OpDEVmCYjHQQoZrLwbhlmLoAP29koSeIl8tI+UbiVXt3SjtBW PC5Ayf5oS7r0JCDY0qaiEV7lAC7X0JUhHJuLm9ZdeqJ6jNJrYfj8HVkoc6ywyaaZm5Ov TmeJWn5E6M+uqKFg/E5kNjjVtLqpjM+Hv6K+d1WBo21biho86jeyb1BqB9xhNcl22Ee7 gmJZLCy66e0lsDXgwmL0rNsDzsgF+TmuGGeFaqtkoZ0oY8dTUnRD6Rl9GHULUX6QWW0I 8s5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=sMxm7eQaxuXcfYDAqsp6bWEE8Tgptif1MgcthlOL3iw=; b=nFqlZedaE79yRPEuPdanTCuZ/7toTaM7u4Bx/zGe8+rsQqgL8R6R7AkTuKhgusixZI U//4IE0JyecJv0CnkpPx82+mtrQXr2gpwTzFWmRcRKtS6vA7r6Itk2JQh+vFF8NDgoaM 6n5gUHYsd4ovOh1yUWEtip/DVq7F2X8q1piszBSsVICjWISQI1di88AnGSibRkA/OqpY F7tDk6ank5X6ZiFXQQFYpN61EWhI3HkigkStbJ7kUKbmdR3BmS+sH/4DgphocoOaDfyv 4GnV6pPMMFULAmg9EzqjGb+ChbrFLo//o7BAg54X4vS5w/8wV8pHEKYlaYkBRCgmXOqo QHqQ== X-Gm-Message-State: ALQs6tD5IEAI+Qbo16z1ohOo5R1f7VDn8567cJxwc33x1qi412sygtMU aiUgimQpqLCxRqsg20E1Nb39zvnLM44= X-Google-Smtp-Source: AIpwx483ZIA8tpgZur/26IsqJaNL81amQOpTT3gKpfz/d2H+4cSKgoE1Ek0v33nn0FgEPjLj2X9YRQ== X-Received: by 2002:a17:902:3225:: with SMTP id y34-v6mr23931039plb.180.1524546373519; Mon, 23 Apr 2018 22:06:13 -0700 (PDT) Received: from xeon-e3 (204-195-71-95.wavecable.com. [204.195.71.95]) by smtp.gmail.com with ESMTPSA id l80sm30106503pfk.73.2018.04.23.22.06.13 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 23 Apr 2018 22:06:13 -0700 (PDT) Date: Mon, 23 Apr 2018 22:06:11 -0700 From: Stephen Hemminger To: venkataprasad k Cc: "Rosen, Rami" , "users@dpdk.org" Message-ID: <20180423220611.6ef54ef6@xeon-e3> In-Reply-To: References: <9B0331B6EBBD0E4684FBFAEDA55776F958894836@HASMSX110.ger.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 05:06:15 -0000 On Tue, 24 Apr 2018 09:44:54 +0530 venkataprasad k wrote: > Hi Rami, >=20 > 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 >=20 > 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 unused= =3D > 0000:03:00.1 'Ethernet Server Bypass Adapter 155d' drv=3Dvfio-pci unused= =3D > 0000:05:00.0 'Ethernet Server Bypass Adapter 155d' drv=3Dvfio-pci unused= =3D > 0000:05:00.1 'Ethernet Server Bypass Adapter 155d' drv=3Dvfio-pci unused= =3D > 0000:41:00.0 'Ethernet Server Bypass Adapter 155d' drv=3Dvfio-pci unused= =3D > 0000:41:00.1 'Ethernet Server Bypass Adapter 155d' drv=3Dvfio-pci unused= =3D > 0000:45:00.0 'Ethernet Server Bypass Adapter 155d' drv=3Dvfio-pci unused= =3D > 0000:45:00.1 'Ethernet Server Bypass Adapter 155d' drv=3Dvfio-pci unused= =3D >=20 > 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=3Di= gb > unused=3Dvfio-pci *Active* > 0000:01:00.1 'I350 Gigabit Network Connection 1521' if=3Denp1s0f1 drv=3Di= gb > unused=3Dvfio-pci > 0000:01:00.2 'I350 Gigabit Network Connection 1521' if=3Denp1s0f2 drv=3Di= gb > unused=3Dvfio-pci > 0000:01:00.3 'I350 Gigabit Network Connection 1521' if=3Denp1s0f3 drv=3Di= gb > unused=3Dvfio-pci >=20 > Other Network devices > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > >=20 > similarly tried with igb_uio as well, but i see the same result ( "EAL: No > probed ethernet devices" ) >=20 > Thanks, > Venkat >=20 >=20 > On Mon, Apr 23, 2018 at 9:55 PM, Rosen, Rami wrote: >=20 > > 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 error > > "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 1= 2,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=3D= 2176, > > socket=3D0 > > USER1: create a new mbuf pool : n=3D779456, size=3D= 2176, > > socket=3D1 > > USER1: create a new mbuf pool : n=3D779456, size=3D= 2176, > > socket=3D2 > > USER1: create a new mbuf pool : n=3D779456, size=3D= 2176, > > socket=3D3 > > Done =20 > > testpmd> show config fwd =20 > > io packet forwarding - ports=3D0 - cores=3D0 - streams=3D0 - NUMA suppo= rt > > enabled, MP over anonymous pages disabled > > =20 > > testpmd> =20 > > > > > > 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 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 > > > > > > My understanding is, it should consider the devices under "Network devi= ces > > 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 > > =20 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).