DPDK patches and discussions
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: hamidreza Kheirabadi <hamidreza.kheirabadi@gmail.com>
Cc: dev <dev@dpdk.org>
Subject: Re: [dpdk-dev] vfio error
Date: Sun, 4 Apr 2021 08:15:20 -0700	[thread overview]
Message-ID: <CAOaVG16a19Qo1=_U5NRwFHx4=54-Ej_zcVG-GMmiS0yQ+-KfWA@mail.gmail.com> (raw)
In-Reply-To: <CAKtNQLgd_9UBJhD7nKc1D3mOxmR9k+O26kudvsc9==PQkkguFg@mail.gmail.com>

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
>

  reply	other threads:[~2021-04-04 15:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-04 14:40 hamidreza Kheirabadi
2021-04-04 15:15 ` Stephen Hemminger [this message]
2021-04-05 16:53 ` Liang Ma

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAOaVG16a19Qo1=_U5NRwFHx4=54-Ej_zcVG-GMmiS0yQ+-KfWA@mail.gmail.com' \
    --to=stephen@networkplumber.org \
    --cc=dev@dpdk.org \
    --cc=hamidreza.kheirabadi@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).