From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 44487A0547; Sun, 4 Apr 2021 17:15:34 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C0697140E2C; Sun, 4 Apr 2021 17:15:33 +0200 (CEST) Received: from mail-lf1-f54.google.com (mail-lf1-f54.google.com [209.85.167.54]) by mails.dpdk.org (Postfix) with ESMTP id 6E70340141 for ; Sun, 4 Apr 2021 17:15:32 +0200 (CEST) Received: by mail-lf1-f54.google.com with SMTP id q29so14083162lfb.4 for ; Sun, 04 Apr 2021 08:15:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=J4Mj0r8ikq9M+5NucElkSEb/Mbkp9TO6Ur4KdBOMCc4=; b=dCvgo62IQPmQqaVlgqju0ICcoyYa/iMpH+hoz65FCXRpc8pgslC2UfAaYrOP1jeKDc VJUx4uYXrRDXPG9rgB1OiRmbSmWQMPC6pB4f7XTBL7ytDQ7szW0spc1TVdB4Cw8i4b04 BIyIf/96nAP3SermRO2CTmTj5QWgMo7lXEuKD72o43yMmYzywLV/Unl599aRWb8hcGmW O4iUoXu4KfUXmULkMKr0Q0MD7jMBiuZI7Xiyn3YbwMVh2vPU5SVYVt9zD3Ip5Z6ZNMF8 TLpQYR0kgffaZFcdw/yixiW806vzANcLlWpeDvr76NfzJsTdQCOmGHAnaPdzGCRaYF1O OGbA== 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=J4Mj0r8ikq9M+5NucElkSEb/Mbkp9TO6Ur4KdBOMCc4=; b=lsuMXL4NQSfIRdMkY9KCcR4QT56vRY3F6hi1uwywAqj7DNIa66gKmXqmmNFyx377TS TWETDTU1wvZkTnkJJfarbiVg6JylaEkaNU5qSBGu7s81K8tD/C44jD51HNoRahgp50T6 Nl66qZdJPk/T22NuEz77YneV6wwh/SJxKLSqEwio3tKcs03Ctibzf0PY61unzuvmj3oZ PCvLVmm8vk0f1CCQHKlFvF5YaOhBBBmIL2OcW3DzONFkpgJbqPCxst/UOzg3xpNpCmbG rQEPUtvzF38l/f7aCP7Im5lgQ6Zb624XydQMveQ4WzKlC3BA8F1nS7sXkMm82WRCyu3x IXpw== X-Gm-Message-State: AOAM532DaaRRtAH3niq2OVXVy+/vo3hepNFvWS2iKanOpxZJkja6Nk+z CR3dGOK9DCQOICu/HB1pbuSdpfqrz5SGHtpFgcqe9A== X-Google-Smtp-Source: ABdhPJznt165rSvbMGP33TuqQolr+zNjPHi4AlNo2EJ1wZwHa3MzdBT2SJR93mwuWrMoLmeBgYxKhh0slVPqlrOTsvc= X-Received: by 2002:ac2:5f5b:: with SMTP id 27mr15516099lfz.325.1617549331824; Sun, 04 Apr 2021 08:15:31 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Stephen Hemminger Date: Sun, 4 Apr 2021 08:15:20 -0700 Message-ID: To: hamidreza Kheirabadi Cc: dev Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [dpdk-dev] vfio error X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Look at kernel log (dmesg). Probably you don't have VT-d enabled. On Sun, Apr 4, 2021, 7:40 AM hamidreza Kheirabadi < hamidreza.kheirabadi@gmail.com> wrote: > Hi, > I have a dpdk application which binds nic with igb_uio. My problem is > whenever the kernel updates, I must recompile igb_uio.ko as well. > I want to use vfio instead but I got an error: > > Error: bind failed for 0000:06:00.0 - Cannot bind to driver vfio-pci > Error: unbind failed for 0000:06:00.0 - Cannot open > /sys/bus/pci/drivers//unbind > > I used ubuntu 20.04 and dpdk-18.05 and use dpdk-setup.py helper script > > Regards, > hamid >