From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vs1-f48.google.com (mail-vs1-f48.google.com [209.85.217.48]) by dpdk.org (Postfix) with ESMTP id CD522683E for ; Thu, 6 Dec 2018 06:41:37 +0100 (CET) Received: by mail-vs1-f48.google.com with SMTP id p74so13607783vsc.0 for ; Wed, 05 Dec 2018 21:41:37 -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=HzWAYplhNVE3dmRqbbk4ic6UhVR46Sn6RRn6TFhCPso=; b=jVyLrXWCmH/XgMQ2MiOXTpJ9oIaDOmU2/PaZn5+0jJJ9PMwvWua4FrKxiz2IhJ77ab lnVp2DwC3Oz/zZ73AkmfPYrrGm6hYIqwqd4/EKYNSjSvgu4Zbe04HAUoW+0eMj6vhwYR 4/BxKFt7hsWmuVNW7EyeyQEeOG5j9qtoAb5TrvVaex4Fl3G2oJ3bXVJl+a59mhHspQPA 1vgbScjT6aVVE4JoJR8D7l59r5nfC32HxUiZ4Zjtyxd6u1F56TlwOIZe0oK0VaaKqym5 AB6xupT3rH7uqgdbZIGFy6AbG4yw4xUKNv1Lq8BXJg2FSG/3RIdsto66G5IGQ5EFO3Ws me0w== 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=HzWAYplhNVE3dmRqbbk4ic6UhVR46Sn6RRn6TFhCPso=; b=b8eiGbRo4/iV7e5sAzuVbsYOSmqNpGDwKgbbvtSCMekdbLi4WB7dcnXhdnta6SiLsV ptnbAC4gka0gNq2fat8mSn7GO1QRxIuFvdMaMWo+GUqgEm5lCPnAJdMpVNOnOKnxRtau 7jsg2jUHuuD9WR894483i+LJ2PFSRiqS7QGDJzPodJBgHW5JNblQcZmZ5YIqgXsKih8P JuDivhTL/Nuo/qU75iiqv5o9VsuTGNxOv3HsGjsGkvtmR8NjUSWr9afFrLpJLkiOxfp/ gejSVoWcV+LyJ0qdUSAESHaNyepdzFgUORHePHd8JOVq28agkkTzIjLkMCNrcNCugN3k KiMQ== X-Gm-Message-State: AA+aEWbMgfNxLHBmuBO7m/wLh/fofKfAmIXpQ/6vUvY5uX69XQb9Rhex 2MBqgBr3tAeRNL6cb2OoBQ07GbUSU/Cwqi/w6fe8nZ3iw0w= X-Google-Smtp-Source: AFSGD/UJc9kSG+NM/F7bJSvBs/zFbQEk5rglm8YPDVBeqAekZrW91MwUtKlXR+7UwCUtSv19SrP1lq0NsR/UHvWrOFE= X-Received: by 2002:a67:d20d:: with SMTP id y13mr11957472vsi.163.1544074897037; Wed, 05 Dec 2018 21:41:37 -0800 (PST) MIME-Version: 1.0 From: Ramzah Rehman Date: Thu, 6 Dec 2018 10:41:26 +0500 Message-ID: To: users@dpdk.org X-Mailman-Approved-At: Tue, 11 Dec 2018 07:46:21 +0100 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: Thu, 06 Dec 2018 05:41:38 -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