[dpdk-dev] [RFC] avoid testpmd only working in XEN

2016-03-04 Thread Christian Ehrhardt
Hi, I expected more of a discussion fallout as there would be so different approaches to solve it (with the explicit xs_open stuff I mentioned, but that I consider overengineering). I had this running a while now and I can only say for me it works. A few internal people working with Xen acked it as

[dpdk-dev] [RFC] avoid testpmd only working in XEN

2016-03-01 Thread Christian Ehrhardt
With LIBRTE_PMD_XENVIRT enabled testpmd is built in a way to ONLY work in XEN environments. It will surface as: PMD: gntalloc: ioctl error EAL: Error - exiting with code: 1 Cause: Creation of mbuf pool for socket 0 failed There could be a complex solution checking if this is a Xen env v