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
Bugs, which is subscribed to 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-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to