From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vs1-f53.google.com (mail-vs1-f53.google.com [209.85.217.53]) by dpdk.org (Postfix) with ESMTP id 4644E1B5F0 for ; Wed, 10 Oct 2018 15:19:59 +0200 (CEST) Received: by mail-vs1-f53.google.com with SMTP id e126so4976020vsc.9 for ; Wed, 10 Oct 2018 06:19:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=biarca-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=lKMlYhECX96Mn4QdJflkTDaXV3mShZyFFY3yaz/uIDo=; b=q7ZsicCiRSrzMZyaYz2X3v7Go19wIZvJY32CTPlgLZHyYpm2CnUPnttzQKrxjKFvol yVk1cI+8D5d/CmjDZwbi49qYGf54RUaXFalGxvDdVY6h/vmgCR/JJrCeauwhBCwYPhBF 0ljANXq4okRuXxLOMouzNuHZOQJF6JEefpYupwSzBhOAPykHtUNrXAbJnN/dXcZSfoIJ ZDjLqWxHkW5tkZzUn/nAotn1q50oWgiThj97DGLYNaOAgxWWYG7vtB4klB+7ud7pEYHm j5IwZKkr3bhfoF4tQBKFNXh/GqAYyWwKQs5V6zuPsjb1ucwYVnouyYNfZYfLNbT9WOU2 wxNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=lKMlYhECX96Mn4QdJflkTDaXV3mShZyFFY3yaz/uIDo=; b=uWW7iWUmaoHMRwcl85ALlfHe2yFTHxlVdhPSe6wq/VCMzdqlEvU2zVuTIwvpwd5uh4 RKKi7TmsFmLAYYQQsvsiEg5JlOVtRkc1oUV727McxYNaOzvl/2nA0Nau7ES8uH1X62cd S6UwCILxs0OH+vgSiY1TmjVswQxbyZk+BCEgh6Y+ZUkJWDuTPmmZDUFqSDpNnI6m1Uii 3fj478qgKMGAje5QALBHwRPUBMUErfPH2g+P32bY2FDg901Y+nmE22LGajWhR942PFeX uZh8GfOHT/WXicpF48LnNo7HPeKAp86cuSqhTgplHNS5wgPKqQwW9DcxsINXSYrSSJuf h3Dw== X-Gm-Message-State: ABuFfoi8O2rOdA1nVrtE7PKDLwA3qhWEkJPooz9ThCfQR1VKIZdw2qOK 7Dgrr3QG2JlZ4iZfWHZM0wAWgAbONB0o5hWbr2vHhDniyP4= X-Google-Smtp-Source: ACcGV61T7KePxyofutskt1BCfp/r36V6PtpcY+3bfhlYAoyPpZwjDOjjvjDtEx9VZl4TJyBZ9cbPf3h5goRkiBQiAPo= X-Received: by 2002:ab0:4dda:: with SMTP id b26mr12830041uah.52.1539177598090; Wed, 10 Oct 2018 06:19:58 -0700 (PDT) MIME-Version: 1.0 From: Manojawa Paritala Date: Wed, 10 Oct 2018 18:49:26 +0530 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] Unable to bind Intel XXV710 NIC using i40e driver (2.4.10) 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: , X-List-Received-Date: Wed, 10 Oct 2018 13:19:59 -0000 Hi, I am trying to configure OVS+DPDK in my lab. I downloaded sources for both OVS (2.9.2) and DPDK (18.02.2) and configured them successfully. Installed the latest i40e 2.4.10 on the server (running Ubuntu 16.04 and kernel 4.4.0-137-generic). Now, when I am trying to bind an Intel XXV710 NIC (25 GigE) using the recommended i40e driver, I get the below error. I am able to successfully bind using vfio-pci driver. root@myhost:/usr/src/dpdk-stable-18.02.2/usertools# python dpdk-devbind.py --bind=i40e 0000:af:00.0 Warning - no supported modules(DPDK driver) are loaded As far as I told, DPDK binding with i40e driver should be successful. But, I get the above error. Additionally, I am seeing the same issues on another similar server (running Ubuntu 16.04 and kernel 4.4.0-137-generic), on which I installed openvswitch-switch-dpdk 2.9.0 package. Below are more details. Can anyone of you please let me know if I am missing anything? ---------------- root@myhost:/usr/src/dpdk-stable-18.02.2/usertools# lsmod | grep i40e i40evf 98304 0 i40e 348160 0 vxlan 49152 1 i40e ptp 20480 1 i40e root@myhost:/usr/src/dpdk-stable-18.02.2/usertools# modinfo i40e filename: /lib/modules/4.4.0-137-generic/updates/drivers/net/ethernet/intel/i40e/i40e.ko version: 2.4.10 license: GPL description: Intel(R) 40-10 Gigabit Ethernet Connection Network Driver author: Intel Corporation, srcversion: 3977C21019A3C4865FF253A alias: pci:v00008086d0000158Bsv*sd*bc*sc*i* alias: pci:v00008086d0000158Asv*sd*bc*sc*i* alias: pci:v00008086d000037D3sv*sd*bc*sc*i* alias: pci:v00008086d000037D2sv*sd*bc*sc*i* alias: pci:v00008086d000037D1sv*sd*bc*sc*i* alias: pci:v00008086d000037D0sv*sd*bc*sc*i* alias: pci:v00008086d000037CFsv*sd*bc*sc*i* alias: pci:v00008086d000037CEsv*sd*bc*sc*i* alias: pci:v00008086d00001588sv*sd*bc*sc*i* alias: pci:v00008086d00001587sv*sd*bc*sc*i* alias: pci:v00008086d00001589sv*sd*bc*sc*i* alias: pci:v00008086d00001586sv*sd*bc*sc*i* alias: pci:v00008086d00001585sv*sd*bc*sc*i* alias: pci:v00008086d00001584sv*sd*bc*sc*i* alias: pci:v00008086d00001583sv*sd*bc*sc*i* alias: pci:v00008086d00001581sv*sd*bc*sc*i* alias: pci:v00008086d00001580sv*sd*bc*sc*i* alias: pci:v00008086d00001574sv*sd*bc*sc*i* alias: pci:v00008086d00001572sv*sd*bc*sc*i* depends: ptp,vxlan retpoline: Y vermagic: 4.4.0-137-generic SMP mod_unload modversions retpoline parm: debug:Debug level (0=none,...,16=all) (int) root@myhost:/usr/src/dpdk-stable-18.02.2/usertools# modinfo i40evf filename: /lib/modules/4.4.0-137-generic/updates/drivers/net/ethernet/intel/i40evf/i40evf.ko version: 3.5.13 license: GPL description: Intel(R) 40-10 Gigabit Ethernet Virtual Function Driver author: Intel Corporation, srcversion: 98D2D5B4F68357796C28807 alias: pci:v00008086d00001889sv*sd*bc*sc*i* alias: pci:v00008086d000037CDsv*sd*bc*sc*i* alias: pci:v00008086d00001571sv*sd*bc*sc*i* alias: pci:v00008086d0000154Csv*sd*bc*sc*i* depends: retpoline: Y vermagic: 4.4.0-137-generic SMP mod_unload modversions retpoline root@myhost:/usr/src/dpdk-stable-18.02.2/usertools# python dpdk-devbind.py --bind=i40e 0000:af:00.0 Warning - no supported modules(DPDK driver) are loaded ----------------------Successfully binding with vfio-pci driver--------------- root@myhost:/home/ubuntu# dpdk-devbind --status-dev net Network devices using DPDK-compatible driver ============================================ 0000:af:00.0 'Ethernet Controller XXV710 for 25GbE SFP28 158b' drv=vfio-pci unused=i40e Network devices using kernel driver =================================== 0000:18:00.0 'Ethernet Controller XXV710 for 25GbE SFP28 158b' if=eth0 drv=i40e unused=vfio-pci 0000:18:00.1 'Ethernet Controller XXV710 for 25GbE SFP28 158b' if=eth1 drv=i40e unused=vfio-pci 0000:1a:00.0 'Ethernet Controller XXV710 for 25GbE SFP28 158b' if=eth2 drv=i40e unused=vfio-pci 0000:1a:00.1 'Ethernet Controller XXV710 for 25GbE SFP28 158b' if=eth3 drv=i40e unused=vfio-pci 0000:41:00.0 'Ethernet Connection X722 for 1GbE 37d1' if=eth4 drv=i40e unused=vfio-pci 0000:41:00.1 'Ethernet Connection X722 for 1GbE 37d1' if=eth5 drv=i40e unused=vfio-pci 0000:41:00.2 'Ethernet Connection X722 for 1GbE 37d1' if=eth6 drv=i40e unused=vfio-pci 0000:41:00.3 'Ethernet Connection X722 for 1GbE 37d1' if=eth7 drv=i40e unused=vfio-pci 0000:af:00.1 'Ethernet Controller XXV710 for 25GbE SFP28 158b' if=eth9 drv=i40e unused=vfio-pci 0000:b1:00.0 'Ethernet Controller XXV710 for 25GbE SFP28 158b' if=eth10 drv=i40e unused=vfio-pci *Active* 0000:b1:00.1 'Ethernet Controller XXV710 for 25GbE SFP28 158b' if=eth11 drv=i40e unused=vfio-pci Other Network devices ===================== Thanks & Regards, Manoj