DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] Unable to bind intel NIC X710
@ 2020-12-30  8:02 Hezy Abudy
       [not found] ` <2e199a63-484d-1c8e-5b80-35ae00f576eb@gmail.com>
  0 siblings, 1 reply; 2+ messages in thread
From: Hezy Abudy @ 2020-12-30  8:02 UTC (permalink / raw)
  To: users; +Cc: Hezy Abudy, hezy.abudy

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-users] Unable to bind intel NIC X710
       [not found] ` <2e199a63-484d-1c8e-5b80-35ae00f576eb@gmail.com>
@ 2020-12-30 13:32   ` Hezy Abudy
  0 siblings, 0 replies; 2+ messages in thread
From: Hezy Abudy @ 2020-12-30 13:32 UTC (permalink / raw)
  To: Farbod, users

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.
>
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-12-30 13:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-30  8:02 [dpdk-users] Unable to bind intel NIC X710 Hezy Abudy
     [not found] ` <2e199a63-484d-1c8e-5b80-35ae00f576eb@gmail.com>
2020-12-30 13:32   ` Hezy Abudy

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).