From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt0-f180.google.com (mail-qt0-f180.google.com [209.85.216.180]) by dpdk.org (Postfix) with ESMTP id 7A8F01B1C6 for ; Fri, 26 Jan 2018 12:08:00 +0100 (CET) Received: by mail-qt0-f180.google.com with SMTP id z11so341499qtm.3 for ; Fri, 26 Jan 2018 03:08:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=VtxeOmfZ/oPESvHDSnw8h+QzB3hxaJ4gw+QaAC9xkwA=; b=QF4Z9fqPA6YNZD1z2aMJnQgu18z9OOAHSFftlQAlw7Q2VKywcVezNYkH+//WA3lCSD 9LpMbcEXRN2E96VXLPuY05JA94MPxT9OUIqBeCKmJgghPCiZlUHVkectEtlwsINKOTCy EEyvP2aZ4PvqkVNO8Xlh2ldXUb7no7rKtqKQxU9ggMWYbzevs2PXVb9IuG+40QMDAqYC 8wUIqNDD+tJ/BajB/VNQzyU17mRM7icMhI89tlbZHXc1vQEWBm+8UhUXxHwRV7uzfy8i TM/PC+Kg3u8eluL3veLtQvgMgAa/w+CNWRzUyN33r3NWRWWh0bIvaUgDxato+l41aDq3 aAlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=VtxeOmfZ/oPESvHDSnw8h+QzB3hxaJ4gw+QaAC9xkwA=; b=fkGHvDzgB2wcTC6/WDZ6aR0E8P0Ze0H6NCiadQvZsvU8hOeFRA7yfXs+O/9q+xb7QO eHDsRV82rQnHNswza6xIFVtS3PN6WFEzLbAqUU7V/0pvy/yajeD7ZXvSdnNxgDnwGN3B qS3DtZsavSrlm4ejBQe237vuFArLurtRZRYk5/pYYyjbJSFolp/w4gL63kXKFBRUufmd wVTk4BmH0wDop/EJKizV5/mNMdoJepO770RGENNnuBcM/RpGvkmPDQc1sMN/IovT/r83 sKdKRiUuLfM/G+51kL0e/jE3T4ovqhoxeQiMvT/rh0Q2/GIGYjrxxj7BKi+nQc1C2z7v NwvA== X-Gm-Message-State: AKwxytcGYNI/RibJmo8z8Kcs9HFkZTMsyzsGspS/YloCai3NlvtwLmD1 SO16BHfGQ8+A88M9yrHwvBy1DnFGY5sfbFm8Odk= X-Google-Smtp-Source: AH8x224IQ3Tw9ojWATjs7zmW4GYR/ywM7SRCm6pWSUNrgdvhK0fTRLt/1WSjoq2rD9VUvJ17gEB87/NQTFAwKixApBA= X-Received: by 10.237.59.113 with SMTP id q46mr22493956qte.222.1516964879645; Fri, 26 Jan 2018 03:07:59 -0800 (PST) MIME-Version: 1.0 Received: by 10.140.101.212 with HTTP; Fri, 26 Jan 2018 03:07:59 -0800 (PST) In-Reply-To: References: From: nikhil ap Date: Fri, 26 Jan 2018 16:37:59 +0530 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] Issue binding e1000 port to uio/vfio 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: Fri, 26 Jan 2018 11:08:00 -0000 Hi Guys, Any update on this? I'm stuck here and need help. Thanks, Nikhil On Sat, Jan 20, 2018 at 4:51 PM, nikhil ap wrote: > Hi Guys, > > I am trying to bind my 82545EM e1000 nic to vfio/uio module. However, I am > getting the below error. I checked that the driver is supported by dpdk and > the modules are loaded. What am I missing? > > sudo ./usertools/dpdk-devbind.py --bind=vfio-pci 0000:02:06.0 > Error: bind failed for 0000:02:06.0 - Cannot bind to driver vfio-pci > > sudo ./usertools/dpdk-devbind.py --bind=uio_pci_generic 0000:02:06.0 > Error: bind failed for 0000:02:06.0 - Cannot bind to driver uio_pci_generic > > > osboxes:~/projects/dpdk]$ sudo ./usertools/dpdk-devbind.py --status > > Network devices using DPDK-compatible driver > ============================================ > > > Network devices using kernel driver > =================================== > 0000:02:01.0 '82545EM Gigabit Ethernet Controller (Copper) 100f' if=ens33 > drv=e1000 unused=vfio-pci,uio_pci_generic *Active* > > Other Network devices > ===================== > 0000:02:06.0 '82545EM Gigabit Ethernet Controller (Copper) 100f' > unused=vfio-pci,uio_pci_generic > 0000:02:07.0 '82545EM Gigabit Ethernet Controller (Copper) 100f' > unused=vfio-pci,uio_pci_generic > > osboxes:~/projects/dpdk]$ lsmod | grep uio_pci_generic > uio_pci_generic 16384 0 > uio 16384 1 uio_pci_generic > > osboxes:~/projects/dpdk]$ lsmod | grep vfio > vfio_pci 40960 0 > vfio_iommu_type1 24576 0 > vfio 28672 2 vfio_iommu_type1,vfio_pci > vfio_virqfd 16384 1 vfio_pci > irqbypass 16384 2 kvm,vfio_pci > > -- > Regards, > Nikhil > -- Regards, Nikhil