From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8B704A0A00 for ; Wed, 30 Dec 2020 14:33:00 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CFEF82B8E; Wed, 30 Dec 2020 14:32:58 +0100 (CET) Received: from mail-ej1-f46.google.com (mail-ej1-f46.google.com [209.85.218.46]) by dpdk.org (Postfix) with ESMTP id 245462B83 for ; Wed, 30 Dec 2020 14:32:57 +0100 (CET) Received: by mail-ej1-f46.google.com with SMTP id x16so21932192ejj.7 for ; Wed, 30 Dec 2020 05:32:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=4zXd5IeWN9PtojABd/0z9xUOz8RratRXeDlUvbCWp1I=; b=Z+exiCmn5LhX73RpGqAKncm+2tw3oXWjC+uRc4UIiADddFx2gHG7Re+p/i+y3liNHp jp9UPwyAEwTos/JMTluDVGCrxBnG1A4lNCTNeT3pIqb8LRUZuB6PbPfUHYjFJFFa8qkW v7NwAwiNc4LzP5InAMhWV/DFDrh4ZDh4DiL8x3nwAd+OwQ9t4x9Ry3TbOqDl1Z0Q0aH2 kUfjv3sb9Og91ao4U64SRv5347BFTvXLoou0yoU6oBjMwmEh9D69bjsdaPJaIGJBaJ1Q KAK+UhTLXi4zoNTvMzpNzTt91hA7PSQM+raxlkRQ5qByA6hMThzxVs3hUOQDpk4PjyXZ Kkow== 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; bh=4zXd5IeWN9PtojABd/0z9xUOz8RratRXeDlUvbCWp1I=; b=Q5EQqO1T3DFKkTdaAq0VsilP/+bugSLqvHcbSlP7Sht7XMwJ06YcpcI4K96Ks8lrCZ 2HlG1qeQbvJcjlYfmi9ftiCLQu6z6oRlmjXHfe9oQXhmSMtITYqVaoiigzs0Wy9amRPm xxIH0Y5krkaOuaBBJ1a48cIUvEcuQ1QDDAArEGmLQc8OXZjOmY65R0szDoNb81eGJBej umGsGWacI8QMs88nEZt8N//GjlaGozZKodolpSooEemuso5qHUIuC9ddXJkm9cZPycYn c+iXoIMSWAYqnGvuDHsz+YCoRYvNRT7TNn2500Ws60MRa62fJOzTz6Uhzmk0RJqNk4B0 s+3Q== X-Gm-Message-State: AOAM533E251gy5fj2xYWhoc4PCs+AQqgNVnFjH06kPYAs7W2hToMPhpX MkH8NHqRTOOp4RqfJ3IiJBaISEKEe4hpeUX+ous= X-Google-Smtp-Source: ABdhPJzfyYkUow6Gyt59OakEs+I1NTeEEJwJq3ehcZ4+ygJXpwsbWq7xsBx5HQi2AkbS7/Nh5MnQAC+1QUxa+iAacSs= X-Received: by 2002:a17:906:4348:: with SMTP id z8mr44723538ejm.371.1609335176837; Wed, 30 Dec 2020 05:32:56 -0800 (PST) MIME-Version: 1.0 References: <2e199a63-484d-1c8e-5b80-35ae00f576eb@gmail.com> In-Reply-To: <2e199a63-484d-1c8e-5b80-35ae00f576eb@gmail.com> From: Hezy Abudy Date: Wed, 30 Dec 2020 15:32:46 +0200 Message-ID: To: Farbod , users@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] Unable to bind intel NIC X710 X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "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 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 > > > > 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. > >