From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi1-f193.google.com (mail-oi1-f193.google.com [209.85.167.193]) by dpdk.org (Postfix) with ESMTP id 951451B743 for ; Wed, 10 Oct 2018 18:55:28 +0200 (CEST) Received: by mail-oi1-f193.google.com with SMTP id u74-v6so4650163oia.11 for ; Wed, 10 Oct 2018 09:55:28 -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=niKlsdSe1yB7/bJ4sBbuzQvgQURT9CtDqvi/w5SdP2o=; b=JZvmNy18qWrrd+2dh3naxJJ3iZmx3RyvdYkcqiMx0poEm0Qq4WhfIPNJBzPeI0omsB 1CVYsMXQMsvtgLbWL4J/68qjCHqT7bJerLksrqUPgTkLtaSJZQTJpQy+HYXejf1fdx2I WjobeBj3e4h14TKVu0t3MkZv2RgiyO+4v6BFWLyf9KDeqN+f2NpVZruD6LrClxT1yZB2 ZS3IfW4n8iKjwYoj90Lz0zj2QX/UxE7j+nhb787sW9n2k1clc4LfSyFhsUaEUvUhmQ/i jep21YxlKjoH2YPl0iu+BwX5v1+0OheOyoKgCsf2lpiuSpLUbJsoA/diPwd5SrRvGX3l yJRA== 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=niKlsdSe1yB7/bJ4sBbuzQvgQURT9CtDqvi/w5SdP2o=; b=AejNNOW1h/tPUJnD8GUDDGS5LOP9QQSD470O3ttV4mWUkSYNLy604lnLLNRSbx1knL +lp2Svw454prrSvXZ3nvmbHD5cf4Xz0Delt3fe4TisRtDHuAjSIZvRmk5Qyc7wY7XhOP f/QT3NPOjNq4A1be0eb9y7+gC8t2g6+g5AKasllTWjnvqrRtK8we9BoNw3tAP7P1PJsw O8lCTbP6Z87X4z4m/1AUumqkwEGuf1J1Gko5kjmmTC1OoUN720DqfPBpbtpLo+moZNW7 +sS39Gfo3wjwQXpwsjCGvCddoai4LW9UvfaMv3NVABXkO3gimER4yaVAxmqKooJkKFWp Ng6g== X-Gm-Message-State: ABuFfoiMRq+z1EU6mrDY8e98EtdR5WuCRPk11zI3Sr5slQf23TZE+A6x TirQOviHsaIsBcCymcWLv3kyqo0VgNWX+RUeI08KwmXL X-Google-Smtp-Source: ACcGV63923Ve3C44zXbADyMITmIH4N//tPd+iZYXX2mYT5SLPUDRuxUz57YnEgh1SL/ihM1U7Ajk1Qb3HyKp2CKymJM= X-Received: by 2002:aca:181a:: with SMTP id h26-v6mr2026760oih.19.1539190527706; Wed, 10 Oct 2018 09:55:27 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Rami Rosen Date: Wed, 10 Oct 2018 19:55:16 +0300 Message-ID: To: manojawapv@biarca.com Cc: users@dpdk.org Content-Type: text/plain; charset="UTF-8" Subject: Re: [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 16:55:28 -0000 Hi, Manoj, What happens if you try to split it into the following sequence: /usr/src/dpdk-stable-18.02.2/usertools# python dpdk-devbind.py -u 0000:af:00.0 and then python dpdk-devbind.py --bind=i40e 0000:af:00.0 Can you please post the logs ? Regards, Rami Rosen On Wed, 10 Oct 2018 at 16:20, Manojawa Paritala wrote: > > 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