[Bug 1554214] [NEW] Usege of vfio-pci module via /etc/dpdk/interfaces doesn't work
Thiago Martins
thiagocmartinsc at gmail.com
Mon Mar 7 21:04:56 UTC 2016
Public bug reported:
Guys,
I'm trying to use the "vfio-pci" with DPDK under Xenial but, it does
not work.
When with "uio-pci-generic", it works, like this:
---
pci 0000:01:00.0 uio-pci-generic
pci 0000:01:00.1 uio-pci-generic
---
After reboot, I can see that devices and bounded to DPDK-compatible
driver "dpdk_nic_bind --status", as expected.
However, when I change it to "vfio-pci", it does not work anymore, like
this:
---
pci 0000:01:00.0 vfio-pci
pci 0000:01:00.1 vfio-pci
---
I tried to add "vfio-pci" to the "/etc/modules" but, it also doesn't
work after reboot.
So, I disabled all entries under "/etc/dpdk/interfaces", to try it
manually, like this:
---
dpdk_nic_bind --bind=vfio-pci em1
dpdk_nic_bind --bind=vfio-pci em2
---
Then, it worked! Look the output of "dpdk_nic_bind --status":
---
Network devices using DPDK-compatible driver
============================================
0000:01:00.0 'NetXtreme II BCM57800 1/10 Gigabit Ethernet' drv=vfio-pci unused=bnx2x
0000:01:00.1 'NetXtreme II BCM57800 1/10 Gigabit Ethernet' drv=vfio-pci unused=bnx2x
---
So, it is not working via "/etc/dpdk/interfaces" but works manually!
NOTE: To make it work manually, the module "vfio-pci" must be declared
at "/etc/modules" as well.
Cheers!
Thiago
** Affects: dpdk (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dpdk in Ubuntu.
https://bugs.launchpad.net/bugs/1554214
Title:
Usege of vfio-pci module via /etc/dpdk/interfaces doesn't work
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpdk/+bug/1554214/+subscriptions
More information about the Ubuntu-server-bugs
mailing list