DPDK usage discussions
 help / color / mirror / Atom feed
From: Hezy Abudy <hezyabudy@gmail.com>
To: Farbod <fshahinfar1@gmail.com>, users@dpdk.org
Subject: Re: [dpdk-users] Unable to bind intel NIC X710
Date: Wed, 30 Dec 2020 15:32:46 +0200
Message-ID: <CAEg=hmHQUG1C-Q10=m_b_yqmZ2g_SjeO8G=9-foUDVSnPztDfA@mail.gmail.com> (raw)
In-Reply-To: <2e199a63-484d-1c8e-5b80-35ae00f576eb@gmail.com>

My application already uses igb_uio.
I am trying to change for vfio-pci in order to run my application without
root permissions.
I fixed the issue with the bind by adding this: "intel_iommu=on iommu=pt"
to the grub file.
Now i having another problem:

EAL:   0000:06:00.0 failed to select IOMMU type


dmesg output:

[11597.560394] vfio-pci 0000:06:00.1: Device is ineligible for IOMMU domain
attach due to platform RMRR requirement.  Contact your platform vendor.


On Wed, Dec 30, 2020 at 1:16 PM Farbod <fshahinfar1@gmail.com> wrote:

> Hi,
>
>
> Have you tried DPDK IGB_UIO driver?
>
> Check this link: https://doc.dpdk.org/guides/linux_gsg/linux_drivers.html
>
> In the UIO section there is a little information about `igb_uio`.
>
>
> I guess you should load the kernel module in the DPDK for igb_uio and then
> bind your port using that driver instead of vfio.
>
>
> Thanks
>
> ~ Farbod
>
>
> <http://git.dpdk.org/dpdk-kmods>
> On 12/30/20 11:32 AM, Hezy Abudy wrote:
>
> Hi All,
>
> I am trying to bind this nic I40E:
>
> Ethernet Controller X710 for 10GbE backplane 1581
>
>
> my OS is ubuntu 18.04
> kernel: 4.15.0-74-generic
>
>
> I used dpdk-setup.sh to Insert VFIO module.
> i also add iommu=on to grub file.
>
>
> running devbind command:
>
> sudo ./dpdk-devbind.py -b vfio-pci 02:00.1
>
> i Got this erros:
>
> Error: bind failed for 0000:02:00.1 - Cannot bind to driver vfio-pci
>
>
> dmesg output:
>
> [ 5091.393436] vfio-pci*: probe of 0000:02:00.1 failed with error -22*
>
>
> Thanks,
>
> Hezy.
>
>

      parent reply	other threads:[~2020-12-30 13:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-30  8:02 Hezy Abudy
     [not found] ` <2e199a63-484d-1c8e-5b80-35ae00f576eb@gmail.com>
2020-12-30 13:32   ` Hezy Abudy [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='CAEg=hmHQUG1C-Q10=m_b_yqmZ2g_SjeO8G=9-foUDVSnPztDfA@mail.gmail.com' \
    --to=hezyabudy@gmail.com \
    --cc=fshahinfar1@gmail.com \
    --cc=users@dpdk.org \
    /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

DPDK usage discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.dpdk.org/users/0 users/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 users users/ http://inbox.dpdk.org/users \
		users@dpdk.org
	public-inbox-index users

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.users


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git