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 36B50A04DD; Thu, 28 Nov 2019 08:43:56 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3BF043256; Thu, 28 Nov 2019 08:43:55 +0100 (CET) Received: from mail-lj1-f194.google.com (mail-lj1-f194.google.com [209.85.208.194]) by dpdk.org (Postfix) with ESMTP id 4A23F2C52; Thu, 28 Nov 2019 08:43:53 +0100 (CET) Received: by mail-lj1-f194.google.com with SMTP id m4so27337125ljj.8; Wed, 27 Nov 2019 23:43:53 -0800 (PST) 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=ap90MEecSKPJhXbkAusnvxxQyanzUjCInu54KHQPvEM=; b=teWwGBMLojMpEZ9QinPcqfx0M3c3RcsLH7MX8zOa8iCaTpQOxM4pgSopqczbfM/KH6 qyDK3VAgGTtV81eRfVsPXO0acZNtAeDlAscC8jQc2yID4FIdeZCHLEe4XdZD4VlQriSs nxR6GJ49ix2hO0AW65jvlPEmr69dH1m/gss8i59ZdMJhvukMuCREYNM4VDOZtYxf1z3T i87vc5dlOi2bzsbGSxabfG4j+/kinExapYWMmtKCHG3AFA5xur/q0s2lxZEEPg+YPiRS SnH457sXLlnGDUU7CrWCUNclAbuVEhA0xTB3cb0UiIBKmjbgVVqKWZixASvxw1uJVvTl 94iQ== 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=ap90MEecSKPJhXbkAusnvxxQyanzUjCInu54KHQPvEM=; b=S4gmMro1YQL4y8YTQHuwytAQ3Wp0yoHJ8VZErCJcDqWBOzYujH+lr3kZEdykCF6NSG I7m/4oa0EKkB2iqRSi6hDnux1dr6ZX/tdr37xMM1x9lDsdH30h+TtyXtIKDxZQUvb7e7 tY1jkJHeQ1cL84WwjLvpEbVvSGh1NP3/0NmAguFgAhK0B2/fXLLFYkw2SbKjDy6jW6K+ HdJdj8mrMdkDYA/hyaEs4xdlCPcoilYTF8pNrQn4aSE7GswLiRSgY4/DL10IiC1gZOcs SG2/MJ8ZibquRVWi2E7LmCPEIFidT3Y+ahqRQuwK0CnkxY6rPr51uEgoT6nSkhEhF08f 21Ew== X-Gm-Message-State: APjAAAUfimryKEdF/mejhMCGBclfQh7K3uZ5pB5bAo75WqpA+V754d50 PAnAJYzMIII0EDTlfRRSVoWmLP5VZlXHOymcv1k= X-Google-Smtp-Source: APXvYqxq0qB3X8uQmFEw0Ff3ZcitgHml2FhMVzL++0NI5LlfSCGCEDJGzWCU3cBjWVDD3wGcOyXcZ90mBbFAdgz/gHs= X-Received: by 2002:a2e:9610:: with SMTP id v16mr18471715ljh.88.1574927032483; Wed, 27 Nov 2019 23:43:52 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Venumadhav Josyula Date: Thu, 28 Nov 2019 13:13:40 +0530 Message-ID: To: "Gavin Hu (Arm Technology China)" Cc: "dev@dpdk.org" , "users@dpdk.org" , Venumadhav Josyula , nd Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] seeing a problem dpdk startup X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi Gavin, It is [root@localhost scripts]# ./dpdk-devbind.py --status-dev net Network devices using DPDK-compatible driver ============================================ 0000:04:00.0 'Ethernet Controller 10-Gigabit X540-AT2 1528' drv=vfio-pci unused=ixgbe 0000:04:00.1 'Ethernet Controller 10-Gigabit X540-AT2 1528' drv=vfio-pci unused=ixgbe Network devices using kernel driver =================================== 0000:02:00.0 'NetXtreme BCM5719 Gigabit Ethernet PCIe 1657' if=eno1 drv=tg3 unused=vfio-pci *Active* 0000:02:00.1 'NetXtreme BCM5719 Gigabit Ethernet PCIe 1657' if=eno2 drv=tg3 unused=vfio-pci 0000:02:00.2 'NetXtreme BCM5719 Gigabit Ethernet PCIe 1657' if=eno3 drv=tg3 unused=vfio-pci 0000:02:00.3 'NetXtreme BCM5719 Gigabit Ethernet PCIe 1657' if=eno4 drv=tg3 unused=vfio-pci [root@localhost scripts]# I understand from the that IOMMU type selection is failing, is it possible to somehow default it to either igb_uio ? Thanks, Regards, Venu On Thu, 28 Nov 2019 at 13:09, Gavin Hu (Arm Technology China) < Gavin.Hu@arm.com> wrote: > Hi Venumadhav, > > > -----Original Message----- > > From: dev On Behalf Of Venumadhav Josyula > > Sent: Thursday, November 28, 2019 3:01 PM > > To: dev@dpdk.org; users@dpdk.org > > Cc: Venumadhav Josyula > > Subject: [dpdk-dev] seeing a problem dpdk startup > > > > We are seeing following error, no device is detected.... > > ========== > > EAL: Detected 8 lcore(s) > > EAL: Detected 2 NUMA nodes > > EAL: Multi-process socket /var/run/dpdk/rte/mp_socket > > EAL: No free hugepages reported in hugepages-1048576kB > > EAL: Probing VFIO support... > > EAL: VFIO support initialized > > EAL: PCI device 0000:04:00.0 on NUMA socket 0 > > EAL: probe driver: 8086:1528 net_ixgbe > > EAL: 0000:04:00.0 failed to select IOMMU type > > EAL: Requested device 0000:04:00.0 cannot be used > > EAL: PCI device 0000:04:00.1 on NUMA socket 0 > > EAL: probe driver: 8086:1528 net_ixgbe > > EAL: 0000:04:00.1 failed to select IOMMU type > > EAL: Requested device 0000:04:00.1 cannot be used > > > > ================== > > dmesg > > > > [55455.259493] vfio-pci 0000:04:00.0: Device is ineligible for IOMMU > domain > > attach due to platform RMRR requirement. Contact your platform vendor. > > [55455.260947] vfio-pci 0000:04:00.1: Device is ineligible for IOMMU > domain > > attach due to platform RMRR requirement. Contact your platform vendor. > > > > ====== > > BOOT_IMAGE=/boot/vmlinuz-3.10.0-957.el7.pw.1.x86_64 root=/dev/sda3 > > intel_iommu=on > > > > > > Can anybody suggest how to work around the issue ? > Did you check if the device is bound to DPDK? > Here is an example on my host: > gavin@net-arm-thunderx2-01:~/dpdk$ ./usertools/dpdk-devbind.py -s > > Network devices using DPDK-compatible driver > ============================================ > 0000:0f:00.0 'Ethernet Controller XL710 for 40GbE QSFP+ 1583' drv=vfio-pci > unused=i40e > 0000:8a:00.0 'Ethernet Controller XXV710 for 25GbE SFP28 158b' > drv=vfio-pci unused=i40e > 0000:8a:00.1 'Ethernet Controller XXV710 for 25GbE SFP28 158b' > drv=vfio-pci unused=i40e > > > > Thanks, > > Regards, > > Venu >