From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 38F4AA0546 for ; Wed, 26 May 2021 20:10:39 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B63B54067C; Wed, 26 May 2021 20:10:38 +0200 (CEST) Received: from mail-ej1-f41.google.com (mail-ej1-f41.google.com [209.85.218.41]) by mails.dpdk.org (Postfix) with ESMTP id 5E4D640150 for ; Wed, 26 May 2021 20:10:37 +0200 (CEST) Received: by mail-ej1-f41.google.com with SMTP id c20so3903488ejm.3 for ; Wed, 26 May 2021 11:10:37 -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=eR0D4GU2rB2kWLybdvrFdKvbSDMPtx/EZyuDXKNtmhE=; b=Pm2rG3G8cYDIgLMN4U1dTLqrstjBGeAbrzDeGXM6Feamg2R++Trgg8HdxD6Q84EdnV AEl/BS3EYFPiCsS2I8i1hG/nd/rMgV/9Se6KZQ/s9hgKZNgH/Cr830jKoYanmFGzOXP2 pJW7rFP6sxAopryDBrS9P6yF/IFXDPmumajviRoVOnHedNBdh4VHb9/vh4p7Fuu1eGYU jZYkYMylbwngMDzUg5OR1atzgDH6RQiT0zfRuDfEV/TbwLaEK0YdDlUBenQBOLhVrj2K 4fdfcx9SvRuh/ikx3ADZf4nPyT1jWpGEYNAsChneZ+itepEKM9LcRU22Br4g6UbJUr3A hyzA== 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=eR0D4GU2rB2kWLybdvrFdKvbSDMPtx/EZyuDXKNtmhE=; b=rr/onbubgFjhOtdi60cBWa+/mPSU2z5kz+LF35wLkFWLa357rzQkimMTzqNYj6jQUy /c4Mvnrsn4A1QoiZcDJUCBo8EV/f8mHnMToVmw69QYneGMWh1r11LDAHe+h8/5YBIzKS oNaMwbQLpwEV3imMuJMilmPr67g+egQvGGmEk0mgJQUVRzJq3Tc6Ls82Py/gk4Ja5Txz 6P69S0z4a1guh10iYlfnDi/NJIsCk4fSmgubrTW1B6E5R85vtItSz1B4/SwtQK/sbRw2 EhV7bvdxL4pw+dknwoWjG8X5465OCsBZqmoqGbjQPiZTiJzsEWGmoht2R3zpRlwh3pkL 41kA== X-Gm-Message-State: AOAM531c3rF4E9Ffm3EE53E/RZ8F22tmTFYBNgjruuY3Zi4jsD/8QbBs fbP6oikjsMipo/zHRdH+Y6yfcwIe1zbjmbrSXlChfeP0cRE= X-Google-Smtp-Source: ABdhPJyHnsIBUCFJmob46iuUjsCY3obGVx1mmhG/fYCGSzutHMcAYLVsA1c7Ug3aHQvptw5R+KLEVJxbi3N3g98Ogqo= X-Received: by 2002:a17:907:c06:: with SMTP id ga6mr10281497ejc.229.1622052636415; Wed, 26 May 2021 11:10:36 -0700 (PDT) MIME-Version: 1.0 References: <20210526105326.2b580fc7@hermes.local> In-Reply-To: <20210526105326.2b580fc7@hermes.local> From: Sudharshan Krishnakumar Date: Wed, 26 May 2021 11:10:24 -0700 Message-ID: To: Stephen Hemminger Cc: users@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [dpdk-users] Issue moving to DPDK 20.11 release X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 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 Stephen, Thanks for your reply, I was not aware of that. I am using 4-Port Intel 10Gigbit network card-> X710 for 10GbE, and this is currently bound to DPDK using VFIO-PCI driver, but the corresponding kernel network driver appears to be-> i40e. Currently I dont see shared libraries built under DPDK's-> build/driver/net/i40e directory. Should I build those driver libraries, and then provide path to it, something like this in EAL param -> -d build/drivers/net/i40e/libi40e.so Please let me know. Thanks, Sudha Regards, Sudha On Wed, May 26, 2021 at 10:53 AM Stephen Hemminger < stephen@networkplumber.org> wrote: > On Wed, 26 May 2021 10:27:56 -0700 > Sudharshan Krishnakumar wrote: > > > Hi All, > > > > Previously, I had DPDK-19.11 working fine on my server system, which runs > > on Ubuntu 18.04. > > Have a 4-Port 10 Gigabit Network card, with ports bound to use VFIO-PCI > > driver. > > But had to move to DPDK-20.11, and running into issues. > > > > I installed on DPDK-20.11 on the server to /usr/local. > > > > And did binding of ports using the dpdk-devbind script to use VFIO-PCI > > driver. > > > > But when running DPDK sample application such as-> > > dpdk-20.11/examples/packet_ordering, > > noticed DPDK is NOT able to detect any available ports. > > Getting error-> Cause: Error: no ethernet ports detected > > > > Also when I pass parameter to block certain > interfaces(Bus:Device.Function) > > on a NIC, EAL throws an > > Error-> EAL: failed to parse device "0000:31.00.0" > > > > On the same system, using the same 10 Gigbit Network card, DPDK sample > > applications were > > working fine with older version of DPDK->19.11 > > > > Below, I have the output of commands: > > > > ~/dpdk-20.11$ sudo ./usertools/dpdk-devbind.py --status > > > > Network devices using DPDK-compatible driver > > ============================================ > > 0000:31:00.0 'Ethernet Controller X710 for 10GbE SFP+ 1572' drv=vfio-pci > > unused=i40e > > 0000:31:00.1 'Ethernet Controller X710 for 10GbE SFP+ 1572' drv=vfio-pci > > unused=i40e > > 0000:31:00.2 'Ethernet Controller X710 for 10GbE SFP+ 1572' drv=vfio-pci > > unused=i40e > > 0000:31:00.3 'Ethernet Controller X710 for 10GbE SFP+ 1572' drv=vfio-pci > > unused=i40e > > > > Network devices using kernel driver > > =================================== > > 0000:01:00.0 'I210 Gigabit Network Connection 1533' if=enp1s0 drv=igb > > unused=vfio-pci *Active* > > 0000:17:00.0 'Ethernet Controller 10G X550T 1563' if=ens6f0 drv=ixgbe > > unused=vfio-pci *Active* > > 0000:17:00.1 'Ethernet Controller 10G X550T 1563' if=ens6f1 drv=ixgbe > > unused=vfio-pci *Active* > > > > > > cat /proc/meminfo | grep -i huge > > AnonHugePages: 8192 kB > > ShmemHugePages: 0 kB > > HugePages_Total: 2048 > > HugePages_Free: 2048 > > HugePages_Rsvd: 0 > > HugePages_Surp: 0 > > Hugepagesize: 2048 kB > > > > :~/dpdk-20.11/examples/packet_ordering$ sudo > ./build/packet_ordering-shared > > -l 4-6 -n 2 --log-level 7 -m 1024 > > --file-prefix packet_order -- -p 0xf --disable-reorder > > EAL: Detected 72 lcore(s) > > EAL: Detected 2 NUMA nodes > > EAL: Multi-process socket /var/run/dpdk/packet_order/mp_socket > > EAL: Selected IOVA mode 'VA' > > EAL: No available hugepages reported in hugepages-1048576kB > > EAL: Probing VFIO support... > > EAL: VFIO support initialized > > EAL: No legacy callbacks, legacy socket not created > > reorder disabled > > EAL: Error - exiting with code: 1 > > Cause: Error: no ethernet ports detected > > > > ~/dpdk-20.11/examples/packet_ordering/build$ sudo ./packet_ordering -l > 4-6 > > -n 2 --proc-type auto --log-level 7 -m 1024 > > --file-prefix packet_ordering -b 0000:31:00.0 -b 0000:31:00.1 > > -b 0000:05:00.0 -b 0000:06:00.0 -b 0000:07:00.0 -b 0000:08:00.0 -- -p > 0xf > > --disable-reorder > > EAL: Detected 72 lcore(s) > > EAL: Detected 2 NUMA nodes > > EAL: Auto-detected process type: PRIMARY > > EAL: failed to parse device "0000:31:00.0" > > EAL: Unable to parse device '0000:31:00.0' > > EAL: Error - exiting with code: 1 > > Cause: Invalid EAL arguments > > > > > > Please let me know, if you have any suggestions. > > > > > > Thanks, > > > > Sudha > > By default, DPDK is now dynamically linked and all the drivers are in > shared libraries. > You need to pass the -d flag to indicate which library to load. >