mempool: rework support of Xen dom0
authorOlivier Matz <olivier.matz@6wind.com>
Wed, 18 May 2016 11:04:48 +0000 (13:04 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 19 May 2016 12:40:14 +0000 (14:40 +0200)
commitc042ba20674ab55872df5aa5abf0efe4ec8dc6c3
treee056096d1547a79800fe31055c9e04b7cd0e4b64
parent8dab4837012957b08d6770d307fa186bdced25d7
mempool: rework support of Xen dom0

Avoid to have a specific file for that, and remove #ifdefs.
Now that we have introduced a function to populate a mempool
with a virtual area, the support of xen dom0 is much easier.

The only thing we need to do is to convert the guest physical
address into the machine physical address using rte_mem_phy2mch().
This function does nothing when not running xen.

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
MAINTAINERS
lib/librte_mempool/Makefile
lib/librte_mempool/rte_dom0_mempool.c [deleted file]
lib/librte_mempool/rte_mempool.c
lib/librte_mempool/rte_mempool.h
lib/librte_mempool/rte_mempool_version.map