From: Liang Ma <liangma@liangbit.com>
To: hamidreza Kheirabadi <hamidreza.kheirabadi@gmail.com>
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] vfio error
Date: Mon, 5 Apr 2021 17:53:47 +0100 [thread overview]
Message-ID: <20210405165347.GA26@DESKTOP-POQV63C.localdomain> (raw)
In-Reply-To: <CAKtNQLgd_9UBJhD7nKc1D3mOxmR9k+O26kudvsc9==PQkkguFg@mail.gmail.com>
On Sun, Apr 04, 2021 at 07:10:43PM +0430, hamidreza Kheirabadi 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
Hi Hamid,
Please double check if you enable IOMMU(VT-d) in you bios and if you
kernel boot parameter has "intel_iommu=on".
Regards
Liang
prev parent reply other threads:[~2021-04-05 16:53 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
2021-04-05 16:53 ` Liang Ma [this message]
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=20210405165347.GA26@DESKTOP-POQV63C.localdomain \
--to=liangma@liangbit.com \
--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).