From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 593E6A00C5 for ; Mon, 6 Jul 2020 12:44:39 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DE2CE1DA7D; Mon, 6 Jul 2020 12:44:33 +0200 (CEST) Received: from mail-lj1-f196.google.com (mail-lj1-f196.google.com [209.85.208.196]) by dpdk.org (Postfix) with ESMTP id 79AC21DA7B for ; Mon, 6 Jul 2020 12:44:32 +0200 (CEST) Received: by mail-lj1-f196.google.com with SMTP id d17so29966472ljl.3 for ; Mon, 06 Jul 2020 03:44:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=3e266/oATTV1GIQfo7LLnwT170pls519JRL1SLTpT1o=; b=t/tQbfnJGn3Q8eo3z9okkAHknehCujjUkXPd3j8BvyIrQUoOCaLNPnhgcuuss5/Qx9 7frxjxbGtAuFMeHaT/qxCKX+hy+H11QEMFkmswancx3uJta+FcggPHBqqmSbCCQwviso 8aqQbo6ROKDMBfTeLp3zbbrNIPLQLF9dfuC0+k8uZP3b7DIlFDfn0ZEkog3ZGg4XvMGe phL6utxd3ddAwvYoxYeQow3NT6JBXddNI5+te4gH8GfFmag/ZSggWEkBsAy7VOPyGp7E yZ5OquuOtvtZ2NU2agd8Pp9GmmDWk4FhYGuMuOVbRHzjPsw7mqQWZYPPnmcGq7M1Xgia WhJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=3e266/oATTV1GIQfo7LLnwT170pls519JRL1SLTpT1o=; b=Zf69kHDcIdTS+z13eyT/I9U1Akk/ARsJ8xpX4KiJZgXXvnoK7ioBIvG+sWinvGaSgo 9Hw2Ox69qIsSpXAuWCho3MhRUN0Jrjvb6tqHN5JjKps6SWl8J1rVVMnF/bFCDuX090Ak O/w+vYGYecsG1ixKl15O//U1PaZG6t55ztacAjDs0g3M++IDDYADR7bLkSH5Zlz4Li5T IgRzqpi5MX5XOQjOiZSWxNFMcqQ6wjcVeeSl+0oMhQnAemv2egIR5v0jX4Mkc6/Kax25 yZn18OsKMyLdQMEq3pcGwez6emCV8ouVlWlzk9ATdCI3+JyEsZ40C2YPNLTpwquovng8 x5fw== X-Gm-Message-State: AOAM532LrIInSywu08HlkwDt3r670sdQ3xlTDj92WhCYygySaAFY9VYY ya4prvEtDK7rnsqkF12TG6Z/B+mbFjeh/4+fnOs= X-Google-Smtp-Source: ABdhPJzcBdD8qfh1VWM7/EmfCA1emMgWvvTjhTuA3qjiexesIYuGPbX6EE1VHNgnnCwN6l2yT7w9rzqVWEtRJpqgeiA= X-Received: by 2002:a2e:1446:: with SMTP id 6mr3205848lju.409.1594032272074; Mon, 06 Jul 2020 03:44:32 -0700 (PDT) MIME-Version: 1.0 References: <20200706121819.Horde.lAUCGup2CaOGA55JZ1dcirO@webmail.uni-tuebingen.de> In-Reply-To: <20200706121819.Horde.lAUCGup2CaOGA55JZ1dcirO@webmail.uni-tuebingen.de> From: Nishant Verma Date: Mon, 6 Jul 2020 06:44:21 -0400 Message-ID: To: Erfan Mozaffariahrar Cc: USERS Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] PCI device 0000:01:00.0 on NUMA socket -1 && !PANIC!: *** Did not find any ports to use *** 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: , Errors-To: users-bounces@dpdk.org Sender: "users" Hi Erfan, It would be great if you let us know how you are planning to execute helloworld and pktgen. Because HelloWorld is a demo app just to show core functionality nothing else, while pktgen can be used for all sorts of packet related operations. One more thing, if you have allocated ports to one DPDK application then you can't allocate those ports to any application. For example, if one application is using one PCI then for another application that will be blacklisted. Thanks. On Mon, Jul 6, 2020 at 6:18 AM Erfan Mozaffariahrar < erfan.mozaffariahrar@uni-tuebingen.de> wrote: > Hey guys, > > I'm new at DPDK and want to run helloworld and pktgen applications. > I have a quad port Intel I350 NIC. > I binded VFIO-PCI drivers using dpdk-devbind.py > > > ./usertools/dpdk-devbind.py --status > > Network devices using DPDK-compatible driver > ============================================ > 0000:01:00.0 'I350 Gigabit Network Connection 1521' drv=vfio-pci > unused=igb,uio_pci_generic > 0000:01:00.1 'I350 Gigabit Network Connection 1521' drv=vfio-pci > unused=igb,uio_pci_generic > 0000:01:00.2 'I350 Gigabit Network Connection 1521' drv=vfio-pci > unused=igb,uio_pci_generic > 0000:01:00.3 'I350 Gigabit Network Connection 1521' drv=vfio-pci > unused=igb,uio_pci_generic > > > When I run the helloworld application: > > sudo ./build/helloworld -l 0-3 -n 1 > EAL: Detected 4 lcore(s) > EAL: Detected 1 NUMA nodes > EAL: Multi-process socket /var/run/dpdk/rte/mp_socket > EAL: Selected IOVA mode 'PA' > EAL: Probing VFIO support... > EAL: VFIO support initialized > EAL: PCI device 0000:00:19.0 on NUMA socket -1 > EAL: Invalid NUMA socket, default to 0 > EAL: probe driver: 8086:1502 net_e1000_em > EAL: PCI device 0000:01:00.0 on NUMA socket -1 > EAL: Invalid NUMA socket, default to 0 > EAL: probe driver: 8086:1521 net_e1000_igb > EAL: using IOMMU type 8 (No-IOMMU) > EAL: PCI device 0000:01:00.1 on NUMA socket -1 > EAL: Invalid NUMA socket, default to 0 > EAL: probe driver: 8086:1521 net_e1000_igb > EAL: PCI device 0000:01:00.2 on NUMA socket -1 > EAL: Invalid NUMA socket, default to 0 > EAL: probe driver: 8086:1521 net_e1000_igb > EAL: PCI device 0000:01:00.3 on NUMA socket -1 > EAL: Invalid NUMA socket, default to 0 > EAL: probe driver: 8086:1521 net_e1000_igb > hello from core 1 > hello from core 2 > hello from core 3 > hello from core 0 > > **** > > Running pktgen: > > >>> sdk '/home/mozaffari/dpdk-20.02', target 'x86_64-native-linux-gcc' > Setup DPDK to run 'pktgen' application from cfg/default.cfg file > mozaffari@mozaffari-2:~/pktgen-dpdk$ ./tools/run.py default > >>> sdk '/home/mozaffari/dpdk-20.02', target 'x86_64-native-linux-gcc' > Trying ./app/x86_64-native-linux-gcc/pktgen > sudo -E > LD_LIBRARY_PATH=/home/mozaffari/dpdk-20.02/x86_64-native-linux-gcc/lib/x86_64-linux-gnu > ./app/x86_64-native-linux-gcc/pktgen -l 0-3 -n 4 --proc-type auto > --log-level 7 --file-prefix pg -w 05:00.0,safe-mode-support=1 -w > 84:00.0,safe-mode-support=1 -w 03:00.0 -w 81:00.0 -- -v -T -P -j -m [3:4].0 > -m [5:6].1 -m [16:17].2 -m [18:19].3 -f > themes/black-yellow.theme > > Copyright (c) <2010-2019>, Intel Corporation. All rights reserved. > Powered by DPDK > EAL: Detected 4 lcore(s) > EAL: Detected 1 NUMA nodes > EAL: Auto-detected process type: PRIMARY > EAL: Multi-process socket /var/run/dpdk/pg/mp_socket > EAL: Selected IOVA mode 'VA' > EAL: Probing VFIO support... > EAL: VFIO support initialized > Lua 5.3.3 Copyright (C) 1994-2016 Lua.org, PUC-Rio > **** Jumbo Frames of 9618 enabled. > > *** Copyright (c) <2010-2019>, Intel Corporation. All rights reserved. > *** Pktgen created by: Keith Wiles -- >>> Powered by DPDK <<< > > >>> Packet Burst 64, RX Desc 1024, TX Desc 2048, mbufs/port 16384, > >>> mbuf cache 2048 > Port: Name IfIndex Alias NUMA PCI > > !PANIC!: *** Did not find any ports to use *** > PANIC in pktgen_config_ports(): > *** Did not find any ports to use *** > 6: [./app/x86_64-native-linux-gcc/pktgen(_start+0x2a) [0x560ab1edd76a]] > 5: [/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) > [0x7f9e0d7beb97]] > 4: [./app/x86_64-native-linux-gcc/pktgen(main+0x9d4) [0x560ab1d054a4]] > 3: [./app/x86_64-native-linux-gcc/pktgen(pktgen_config_ports+0x2471) > [0x560ab1f12f51]] > 2: [./app/x86_64-native-linux-gcc/pktgen(__rte_panic+0xc5) > [0x560ab1cf3da1]] > 1: [./app/x86_64-native-linux-gcc/pktgen(rte_dump_stack+0x2e) > [0x560ab20f105e]] > > > > I searched previous emails but couldn't figure out the problems. > > I would be thankful if you could help me to resolve it. > > > Best regards, > Erfan > > > > -- > Erfan Mozaffariahrar, M.Sc. > University of Tuebingen > Faculty of Science > Department of Computer Science > Chair of Communication Networks > Room B309, Sand 13, 72076 Tuebingen, Germany > phone: (+49)-7071/29-70512 > mailto: erfan.mozaffariahrar@uni-tuebingen.de > http://kn.inf.uni-tuebingen.de > > -- Rgds, Nishant