DPDK usage discussions
 help / color / mirror / Atom feed
From: nikhil ap <niks3089@gmail.com>
To: users@dpdk.org
Subject: Re: [dpdk-users] Issue binding e1000 port to uio/vfio
Date: Fri, 26 Jan 2018 16:37:59 +0530	[thread overview]
Message-ID: <CACPJs-DGPpRgmtjfp9oLe+xOPaxmJVczbFJxzm8pKCRiDER+yg@mail.gmail.com> (raw)
In-Reply-To: <CACPJs-B0ykyRPY61CpDk11B=8TBc1twr9xo5OEHUmBQ9qBXc8A@mail.gmail.com>

Hi Guys,

Any update on this? I'm stuck here and need help.

Thanks,
Nikhil

On Sat, Jan 20, 2018 at 4:51 PM, nikhil ap <niks3089@gmail.com> wrote:

> Hi Guys,
>
> I am trying to bind my 82545EM e1000 nic to vfio/uio module. However, I am
> getting the below error. I checked that the driver is supported by dpdk and
> the modules are loaded. What am I missing?
>
> sudo ./usertools/dpdk-devbind.py --bind=vfio-pci 0000:02:06.0
> Error: bind failed for 0000:02:06.0 - Cannot bind to driver vfio-pci
>
> sudo ./usertools/dpdk-devbind.py --bind=uio_pci_generic 0000:02:06.0
> Error: bind failed for 0000:02:06.0 - Cannot bind to driver uio_pci_generic
>
>
> osboxes:~/projects/dpdk]$ sudo ./usertools/dpdk-devbind.py --status
>
> Network devices using DPDK-compatible driver
> ============================================
> <none>
>
> Network devices using kernel driver
> ===================================
> 0000:02:01.0 '82545EM Gigabit Ethernet Controller (Copper) 100f' if=ens33
> drv=e1000 unused=vfio-pci,uio_pci_generic *Active*
>
> Other Network devices
> =====================
> 0000:02:06.0 '82545EM Gigabit Ethernet Controller (Copper) 100f'
> unused=vfio-pci,uio_pci_generic
> 0000:02:07.0 '82545EM Gigabit Ethernet Controller (Copper) 100f'
> unused=vfio-pci,uio_pci_generic
>
> osboxes:~/projects/dpdk]$ lsmod | grep uio_pci_generic
> uio_pci_generic        16384  0
> uio                    16384  1 uio_pci_generic
>
> osboxes:~/projects/dpdk]$ lsmod | grep vfio
> vfio_pci               40960  0
> vfio_iommu_type1       24576  0
> vfio                   28672  2 vfio_iommu_type1,vfio_pci
> vfio_virqfd            16384  1 vfio_pci
> irqbypass              16384  2 kvm,vfio_pci
>
> --
> Regards,
> Nikhil
>



-- 
Regards,
Nikhil

           reply	other threads:[~2018-01-26 11:08 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <CACPJs-B0ykyRPY61CpDk11B=8TBc1twr9xo5OEHUmBQ9qBXc8A@mail.gmail.com>]

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=CACPJs-DGPpRgmtjfp9oLe+xOPaxmJVczbFJxzm8pKCRiDER+yg@mail.gmail.com \
    --to=niks3089@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
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).