From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ua1-f52.google.com (mail-ua1-f52.google.com [209.85.222.52]) by dpdk.org (Postfix) with ESMTP id 50C3A3256 for ; Mon, 10 Dec 2018 04:49:39 +0100 (CET) Received: by mail-ua1-f52.google.com with SMTP id p9so3339981uaa.5 for ; Sun, 09 Dec 2018 19:49:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=yx1KezRlP+pkE3BDGX+6UlrhqETD11LOnqT2kiISyXw=; b=cpDxRqepcKoQDzrcuZI7/fuYGfuuK+rwr1xYTjxIMV5+IJNY6AL9tF18zLsa0rWfbN eyRJeYGwa/Ap9REhsztyT+W+DoDSh+tgdh1kYeQ9pr84hPy/OAly+SDHRKh3EtOQX6SK AquOHD2dYojLpkUJkiQ07qEDjRb0BWxbV9Zr8dCFs7XkoR1y1vCk1G/dTsYsBED1/CUC oilziVlhzHzkE824puJq9QYlWajeBDWDuXMQELelkrc5cQ7NPNbI3b4Da8rcpkm3YnKo 6aojQ6TZ5ZzpnuRW91zXSNqb7TAxj+42uUjV66R/vUEBnX6zUEfy2FN22j0gOXVP/0oe v5Uw== 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=yx1KezRlP+pkE3BDGX+6UlrhqETD11LOnqT2kiISyXw=; b=uZssFVj9QaGkNv7H46MHlhk2au62rth4cB6wrVoU+m5l5E5Thv7D4Ul1em1XNbxdbW eGWngIF7njwBX6Nk5dbcgUD7nK9zIA7jaRA2qrHztbsZY1ndQrpct1m09LNZepc/JMOJ N0wzXhDUE6LE7SfTVJT0Pm8PNV+ayvxJYCXYz+dsyD0KXTPxvyjwLw2W9MaPSnrcsRW/ /XRBZGtFA2+w+aP2DMkLEqiGIwFjI/wUCTmucapWQ5h63HAufA5C4qxDGUxZDGmgjrwp wnDcimlJvtwZrI7lpk2IdDVDsz6Vm43+abNQrt2N/rOxpi7ROjyRQCNdHCbw2Qt0ZiXn IW5A== X-Gm-Message-State: AA+aEWb8W+t+hQXkaeY1dLADlij87h6XSU7X6drG2ydl3E7ZeMuG9h5a 7gyRUBy2IZuIFW50OZnvCBBCezlLFcR4dG3MgLXmMkooqm4= X-Google-Smtp-Source: AFSGD/U+fPr58cne/Cu3JI6wFwUfN1AL7EDQ4f2zK5gbAlog6qLugcGTy/j2T/w4Zz5u0Ia5H6iBpu6HHjzWxzm1vIE= X-Received: by 2002:ab0:1d17:: with SMTP id j23mr4397334uak.133.1544413778461; Sun, 09 Dec 2018 19:49:38 -0800 (PST) MIME-Version: 1.0 From: Ramzah Rehman Date: Mon, 10 Dec 2018 08:49:27 +0500 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] Cannot Bind eth0 to vfio-pci Driver 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: Mon, 10 Dec 2018 03:49:39 -0000 I am trying to bind an interface eth0 to vfio driver. I have made sure iommu is enabled in grub and kernel. I have loaded the module vfio-pci. Ran following commands #modprobe vfio-pci #chmod a+x /dev/vfio #chmod 0666 /dev/vfio/* #export DPDK_DIR=/usr/src/dpdk-stable-17.11.4 #sudo $DPDK_DIR/usertools/dpdk-devbind.py --bind=vfio-pci 02:01.0 I got following error: Error: bind failed for 0000:02:01.0 - Cannot bind to driver vfio-pci I checked the error in dmesg: Got : [ 1815.793823] vfio-pci: probe of 0000:02:01.0 failed with error -22 let me know the reason. Best Regards, Ramzah Rehman