[Bug 1551752] Re: DPDK Testpmd failing with Xen specific gntalloc in non-Xen environments

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

Title:
  DPDK Testpmd failing with Xen specific gntalloc in non-Xen
  environments

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpdk/+bug/1551752/+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 1551752] Re: DPDK Testpmd failing with Xen specific gntalloc in non-Xen environments

2016-03-08 Thread ChristianEhrhardt
** 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/1551752

Title:
  DPDK Testpmd failing with Xen specific gntalloc in non-Xen
  environments

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpdk/+bug/1551752/+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 1551752] Re: DPDK Testpmd failing with Xen specific gntalloc in non-Xen environments

2016-03-02 Thread ChristianEhrhardt
Discussion seems to be slow, we will integrate the suggested fix until
upstream agreed on a final one and then convert our delta to the
upstream accepted 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/1551752

Title:
  DPDK Testpmd failing with Xen specific gntalloc in non-Xen
  environments

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpdk/+bug/1551752/+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 1551752] Re: DPDK Testpmd failing with Xen specific gntalloc in non-Xen environments

2016-03-02 Thread ChristianEhrhardt
Patch suggestion and upstream discussion =>
http://www.dpdk.org/dev/patchwork/patch/10954/

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

Title:
  DPDK Testpmd failing with Xen specific gntalloc in non-Xen
  environments

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpdk/+bug/1551752/+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 1551752] Re: DPDK Testpmd failing with Xen specific gntalloc in non-Xen environments

2016-03-01 Thread ChristianEhrhardt
Strace / Ltrace for that GNT thing
__snprintf_chk(0x7ffcfa4da390, 32, 1, 32)   
 = 18
rte_mempool_gntalloc_create(0x7ffcfa4da390, 2048, 2304, 250 
SYS_brk(0xb9c000)   
 = 0xb9c000
SYS_ioctl(0x, 0x184705, 0xb7b980, 1331) 
 = -9
SYS_write(1, "PMD: gntalloc: ioctl error\n", 27PMD: gntalloc: ioctl error
) = 27
SYS_sendto(4, 0xb7d9a0, 62, 0x4000) 
 = 62
<... rte_mempool_gntalloc_create resumed> ) 
 = 0
rte_exit(1, 0x43a590, 0, 0 
SYS_write(1, "EAL: Error - exiting with code: "..., 34EAL: Error - exiting with 
code: 1
)  = 34
SYS_write(1, "  Cause: ", 9  Cause: )   
  = 9
SYS_sendto(4, 0xb34760, 78, 0x4000) 
 = 78
SYS_write(1, "Creation of mbuf pool for socket"..., 42Creation of mbuf pool for 
socket 0 failed
)

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

Title:
  DPDK Testpmd failing with Xen specific gntalloc in non-Xen
  environments

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpdk/+bug/1551752/+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 1551752] Re: DPDK Testpmd failing with Xen specific gntalloc in non-Xen environments

2016-03-01 Thread ChristianEhrhardt
This function is from Xen support as expected - it is only used in Xen
code AND the testpmd app

The usage "behind" Xen code seems safe for other parts of DPDK
 pmd_xenvirt_drv -> rte_pmd_xenvirt_devinit -> eth_dev_xenvirt_create -> 
eth_dev->dev_ops =  -> tx_queue_setup = eth_tx_queue_setup -> 
virtio_queue_setup -> gntalloc_vring_create -> gntalloc

But the one in testpmd replaces the normal alloc depending on 
RTE_LIBRTE_PMD_XENVIRT config symbol.
That is not going to work.

I'll see if there would be an easy solution like a -xen commandline option to 
testpmd, try to get it upstream.
But it might be too early in its initialization to do it without major 
restructuring.

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

Title:
  DPDK Testpmd failing with Xen specific gntalloc in non-Xen
  environments

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpdk/+bug/1551752/+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