From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt0-f171.google.com (mail-qt0-f171.google.com [209.85.216.171]) by dpdk.org (Postfix) with ESMTP id 2DCBE6CC3 for ; Wed, 12 Oct 2016 01:20:50 +0200 (CEST) Received: by mail-qt0-f171.google.com with SMTP id f6so6257796qtd.2 for ; Tue, 11 Oct 2016 16:20:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=amOsxcFMq7TAKTCLXa8zvnmdmh1lmwZxZAtqaoKfr7Q=; b=ER1f8PKe8N+ZgSTS4Wps7PkBK6Rs3ReFPjQfp7DVoXm4lkSCQT9in4GZ27vfkeTnqU 6CiwqxOoag7DXc7r2ILuIIZITMN9eUoW2mMWY8slQqyDkxo3Lw1rjzTyPyhiIJXo9D3n CwnHp4RMdXAkoVQyHoaeErtxkURqKNTDZqwFzlfN8J1Pq563UBu2+0MtvGfXZ5ZmJGOx JvV/KY/rrllNcRJ+ci9Aum/pNSq/sHjbRuBmuYKnfWn4lPbReI/NIuCG9lRyVimWjDW3 gPuTJ31D65vLRv2B+YRlk+MnBLtf9QqWkjOEEhFgG3+7dAUqUm4Flr5Z9d8FzW/MtfeM he4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=amOsxcFMq7TAKTCLXa8zvnmdmh1lmwZxZAtqaoKfr7Q=; b=bEQthzDRFyNVTkuV1iiExDn+PA5DrcHCAz6XSlOX/4rDZQJ4WaBYtU1NVN10q8bq8y ii+Bjyv3Z5ph3BZEXtj9Xr97q5Q1OpvALwkJqQ13QPrApydberK0/uUl/wsesimsV91N 0F+9UI5K9TTRHvjkg5e1PLfBeINesLSORqnzfInU/1dHqXwI3+YsVnP5Ikp6vGofg/PE 54V0L7du6NX2wFQw6QttsYvgJvwKS3RBQfJvIgnmFB+XNRgi7o3fTkQFgqpwqhhhPgMo GmabtT2Tq4Az7Jc8uDlGq3MlS0h4UQwxElTrgkI5HD8lBZlqDyQSQ6wDA8kc+nDcQqeb 7WEQ== X-Gm-Message-State: AA6/9RnMz2DGH//yhvFuAsT4etu0OqunYZ/+iG1FzXiAwcgF+078ioMkgKPjSp35VmF6lcLycFcXmTpR0/N6sQ== X-Received: by 10.200.54.144 with SMTP id a16mr5460643qtc.126.1476228049456; Tue, 11 Oct 2016 16:20:49 -0700 (PDT) MIME-Version: 1.0 Received: by 10.55.25.6 with HTTP; Tue, 11 Oct 2016 16:20:29 -0700 (PDT) In-Reply-To: References: From: Aniraj Kesavan Date: Tue, 11 Oct 2016 17:20:29 -0600 Message-ID: To: dev@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] Testpmd not recognising device/port even after binding it using the python script 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: Tue, 11 Oct 2016 23:20:50 -0000 I had enabled 1G hugepages and verified that they are recognised in eal_hugepage_init On Tue, Oct 11, 2016 at 5:19 PM, Aniraj Kesavan wrote: > > DPDK version:16.07 > OS: Ubuntu 15:04 > dual-port Intel X710 10GbE PCI-Express NICs > > I have installed the modules, ran the tool to bind them to the NICs, > running gdb over skeleton/basicfwd example shows that rte_eal_init > completes, but it fails at the even number of ports check since > rte_eth_dev_count returns 0. I have tried the examples with and without -w > flags. > > Any help is appreciated. > > python ./dpdk-devbind.py --status > > Network devices using DPDK-compatible driver > ============================================ > 0000:04:00.0 'Ethernet Controller X710 for 10GbE SFP+' drv=igb_uio unused= > 0000:04:00.1 'Ethernet Controller X710 for 10GbE SFP+' drv=igb_uio unused= > > Network devices using kernel driver > =================================== > 0000:02:00.0 'NetXtreme BCM5720 Gigabit Ethernet PCIe' if=eth0 drv=tg3 > unused=igb_uio *Active* > 0000:02:00.1 'NetXtreme BCM5720 Gigabit Ethernet PCIe' if=eth1 drv=tg3 > unused=igb_uio > 0000:06:00.0 'I350 Gigabit Network Connection' if=eth2 drv=igb > unused=igb_uio > 0000:06:00.1 'I350 Gigabit Network Connection' if=eth4 drv=igb > unused=igb_uio > 0000:06:00.2 'I350 Gigabit Network Connection' if=eth5 drv=igb > unused=igb_uio > 0000:06:00.3 'I350 Gigabit Network Connection' if=eth6 drv=igb > unused=igb_uio > > > LD_LIBRARY_PATH=../lib ./testpmd -c 0xF -n 4 -w 0000:04:00.0 0000:04:00.1 > -- -i --portmask=0x1 --nb-cores=2 > EAL: Detected 32 lcore(s) > EAL: No free hugepages reported in hugepages-2048kB > EAL: Probing VFIO support... > EAL: No probed ethernet devices > Interactive-mode selected > Invalid port 0 > USER1: create a new mbuf pool : n=171456, size=2176, > socket=0 > Done > > Thanks, > Aniraj > > -- > Aniraj Kesavan > > MS CS '15-'17, > University Of Utah > CS '08-'12, > Govt. Model Engineering College > alternate e-mail:anirajkalathel@gmail.com > http://www.cs.utah.edu/~aniraj/ > -- Aniraj Kesavan MS CS '15-'17, University Of Utah CS '08-'12, Govt. Model Engineering College alternate e-mail:anirajkalathel@gmail.com http://www.cs.utah.edu/~aniraj/