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 0C961A0546 for ; Wed, 26 May 2021 19:53:32 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 86A774067C; Wed, 26 May 2021 19:53:32 +0200 (CEST) Received: from mail-pj1-f41.google.com (mail-pj1-f41.google.com [209.85.216.41]) by mails.dpdk.org (Postfix) with ESMTP id C6B3440150 for ; Wed, 26 May 2021 19:53:30 +0200 (CEST) Received: by mail-pj1-f41.google.com with SMTP id h20-20020a17090aa894b029015db8f3969eso794199pjq.3 for ; Wed, 26 May 2021 10:53:30 -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=zaFt0jbovbbbPqb0VVejsu4i604h3mr5hppiaNkQFc8=; b=YtD8gmA1MN1CU/55u5o8EZ4vK46wXODYeOnwQDvFuKzDYcBlYh+aJ7R7vCEauNKy5G DcuaWHqPZiPM/2BK2HdgirclyBCThHrJ6iTLXZn3UEMkme0pO348dF0qbTcuJXr2q6EL GxLki/xum23v28LQqzA/MkV3alHBZMmeUPmVIECnRgZov3Trt4ss8RuScj2kNrYLXRaZ Ch+6EdO5J4qdbztNTw+yeJwFoL8vPscRMfQkPOp4182BOcSrW+vqqtNhEF47ymledG/a 5hgpHHTmmmWVQz0j8+z1j0t4hztfZRInj1hTyPT/FN1gI2pIe7vP9mGsSoCy4XTMvGm+ NJUA== 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=zaFt0jbovbbbPqb0VVejsu4i604h3mr5hppiaNkQFc8=; b=EbQeqUVvrFoSpzkixq3JPHO0ukJW+4GYfzOsXt4hcZvJgaFvhnYwW5jZkSNFx5zFZ2 RT3AD+GN9z5VJWwND+KKgH7seEpVEaPG7LfLXslYltp5dTRwHT07JEKWtf8kHKjJ0hFs e58mqCNJevGW6xQkVEqxDdSAT5O7TNQh5ED6hO0iW5+lp+BGEzYlSxEv9zKY4/vFj4jm ovPHdKRHkbF7G2P7QWsHKhHCr1HdROceZ8f4wKB4uKBu8GWUp8a2c0Qw/g48ve1j0QUG kJqFIEXu6KjVsFHeoFcm+5zm5G0G/rIzwph2vBpuOCpBNBuk+iODe6zEOJ+XjknjNiVP uY5g== X-Gm-Message-State: AOAM5315jSnnqQry2pBPdbk/NKrqPwi/n+ZCcUEnJrlxw4pIo1+Xw9DX 9D/oMHz6ScBRhXg/bg9SOBOLtHkq8zRMSQ== X-Google-Smtp-Source: ABdhPJw/v005/F8PHvvX/pQT7P+BDKTkJH5D24SZ4xkpzFeghgxL1mNjKVF3ZHS/sqoQrgbPwnRRDQ== X-Received: by 2002:a17:90a:f98c:: with SMTP id cq12mr5092479pjb.235.1622051609751; Wed, 26 May 2021 10:53:29 -0700 (PDT) Received: from hermes.local (76-14-218-44.or.wavecable.com. [76.14.218.44]) by smtp.gmail.com with ESMTPSA id x21sm16649223pfr.124.2021.05.26.10.53.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 10:53:29 -0700 (PDT) Date: Wed, 26 May 2021 10:53:26 -0700 From: Stephen Hemminger To: Sudharshan Krishnakumar Cc: users@dpdk.org Message-ID: <20210526105326.2b580fc7@hermes.local> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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" 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.