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

ChristianEhrhardt 1551752 at bugs.launchpad.net
Tue Mar 1 14:02:41 UTC 2016


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



More information about the Ubuntu-server-bugs mailing list