[Bug 1554214] Re: Usege of vfio-pci module via /etc/dpdk/interfaces doesn't work

2016-03-09 Thread Launchpad Bug Tracker
This bug was fixed in the package dpdk - 2.2.0-0ubuntu5

---
dpdk (2.2.0-0ubuntu5) xenial; urgency=medium

  * d/t/test-initscripts fix issues regarding 1G hugepages
 - the dep8 was already taking care of 1G hugepages being not supported in
   some environments. But it was failing when supported, but not enough
   memory available.

 -- Christian Ehrhardt   Wed, 09 Mar
2016 17:19:24 +

** Changed in: dpdk (Ubuntu)
   Status: Fix Committed => Fix Released

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1554214] Re: Usege of vfio-pci module via /etc/dpdk/interfaces doesn't work

2016-03-09 Thread Launchpad Bug Tracker
This bug was fixed in the package dpdk - 2.2.0-0ubuntu5

---
dpdk (2.2.0-0ubuntu5) xenial; urgency=medium

  * d/t/test-initscripts fix issues regarding 1G hugepages
 - the dep8 was already taking care of 1G hugepages being not supported in
   some environments. But it was failing when supported, but not enough
   memory available.

 -- Christian Ehrhardt   Wed, 09 Mar
2016 17:19:24 +

** Changed in: dpdk (Ubuntu)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1554214] Re: Usege of vfio-pci module via /etc/dpdk/interfaces doesn't work

2016-03-08 Thread ChristianEhrhardt
FYI - fix is in the queue for review & upload.
This bug should get auto-updated once it gets through.

** Changed in: dpdk (Ubuntu)
   Status: Triaged => Fix Committed

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1554214] Re: Usege of vfio-pci module via /etc/dpdk/interfaces doesn't work

2016-03-08 Thread ChristianEhrhardt
FYI - fix is in the queue for review & upload.
This bug should get auto-updated once it gets through.

** Changed in: dpdk (Ubuntu)
   Status: Triaged => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1554214] Re: Usege of vfio-pci module via /etc/dpdk/interfaces doesn't work

2016-03-08 Thread ChristianEhrhardt
The root cause is very easy - the "-" to "_" conversion in the scripts.
I'll have to discuss why that was added as it is from before my time.

I'll let you know about a solution.

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1554214] Re: Usege of vfio-pci module via /etc/dpdk/interfaces doesn't work

2016-03-08 Thread ChristianEhrhardt
The root cause is very easy - the "-" to "_" conversion in the scripts.
I'll have to discuss why that was added as it is from before my time.

I'll let you know about a solution.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1554214] Re: Usege of vfio-pci module via /etc/dpdk/interfaces doesn't work

2016-03-08 Thread ChristianEhrhardt
Hi - here a minor update

Regarding:
NOTE: To make it work manually, the module "vfio-pci" must be declared at 
"/etc/modules" as well.

Yes it is required to load the module before dpdk_nic_bind, if running manually 
you have to do it some way on your own e.g. /etc/modules.
If using the init scripts they will take care of it before calling 
dpdk_nic_bind.


Also regarding vfio in general there is a lot of things that can go wrong 
regarding the actual iommu setup.
I don't think that is your issue, but as FYI you might want to read into the 
references in this mail => 
http://dpdk.org/ml/archives/dev/2016-February/05.html

going on to try this on my machine now ...

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1554214] Re: Usege of vfio-pci module via /etc/dpdk/interfaces doesn't work

2016-03-08 Thread ChristianEhrhardt
Hi - here a minor update

Regarding:
NOTE: To make it work manually, the module "vfio-pci" must be declared at 
"/etc/modules" as well.

Yes it is required to load the module before dpdk_nic_bind, if running manually 
you have to do it some way on your own e.g. /etc/modules.
If using the init scripts they will take care of it before calling 
dpdk_nic_bind.


Also regarding vfio in general there is a lot of things that can go wrong 
regarding the actual iommu setup.
I don't think that is your issue, but as FYI you might want to read into the 
references in this mail => 
http://dpdk.org/ml/archives/dev/2016-February/05.html

going on to try this on my machine now ...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1554214] Re: Usege of vfio-pci module via /etc/dpdk/interfaces doesn't work

2016-03-07 Thread ChristianEhrhardt
Thanks for reporting.
As I'm currently testing and fixing all kind of this it matches what I do this 
week.
I just came not yet by vfio-pci, by that I have to thank you to make me aware.

I'll have a look at it and let you know.

** Changed in: dpdk (Ubuntu)
   Status: New => Triaged

** Changed in: dpdk (Ubuntu)
   Importance: Undecided => Medium

** Changed in: dpdk (Ubuntu)
 Assignee: (unassigned) => ChristianEhrhardt (paelzer)

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1554214] Re: Usege of vfio-pci module via /etc/dpdk/interfaces doesn't work

2016-03-07 Thread ChristianEhrhardt
Thanks for reporting.
As I'm currently testing and fixing all kind of this it matches what I do this 
week.
I just came not yet by vfio-pci, by that I have to thank you to make me aware.

I'll have a look at it and let you know.

** Changed in: dpdk (Ubuntu)
   Status: New => Triaged

** Changed in: dpdk (Ubuntu)
   Importance: Undecided => Medium

** Changed in: dpdk (Ubuntu)
 Assignee: (unassigned) => ChristianEhrhardt (paelzer)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1554214] Re: Usege of vfio-pci module via /etc/dpdk/interfaces doesn't work

2016-03-07 Thread Thiago Martins
I also added:

--
default_hugepagesz=1GB hugepagesz=1G hugepages=1
--

To Grub Linux options, still doesn't work.

I think I am following
"https://github.com/openvswitch/ovs/blob/master/INSTALL.DPDK.md; but no
luck.

BTW, this isn't working on Ubuntu:

--
chmod a+x /dev/vfio
--

It just ignored it.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1554214] Re: Usege of vfio-pci module via /etc/dpdk/interfaces doesn't work

2016-03-07 Thread Thiago Martins
I also added:

--
default_hugepagesz=1GB hugepagesz=1G hugepages=1
--

To Grub Linux options, still doesn't work.

I think I am following
"https://github.com/openvswitch/ovs/blob/master/INSTALL.DPDK.md; but no
luck.

BTW, this isn't working on Ubuntu:

--
chmod a+x /dev/vfio
--

It just ignored it.

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1554214] Re: Usege of vfio-pci module via /etc/dpdk/interfaces doesn't work

2016-03-07 Thread Thiago Martins
I forgot to mention that, to make it work manually, I also enabled IOMMU
at boot, by appending the following option to Linux via GRUB2:

---
intel_iommu=on
---

Otherwise, the command `dpdk_nic_bind --bind=vfio-pci em1|em2` fails.

Best,
Thiago

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1554214] Re: Usege of vfio-pci module via /etc/dpdk/interfaces doesn't work

2016-03-07 Thread Thiago Martins
I forgot to mention that, to make it work manually, I also enabled IOMMU
at boot, by appending the following option to Linux via GRUB2:

---
intel_iommu=on
---

Otherwise, the command `dpdk_nic_bind --bind=vfio-pci em1|em2` fails.

Best,
Thiago

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs