mempool: fix creation with Xen dom0
authorOlivier Matz <olivier.matz@6wind.com>
Mon, 11 Jul 2016 10:20:28 +0000 (12:20 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 11 Jul 2016 17:10:09 +0000 (19:10 +0200)
commit4d0c51a85d2b311f0c7ede45e42f3564e489e382
tree76ed6ff8d05bfba9ff9b3619133a86ef98f99366
parent996e86bf2a74b671225d7a59c0d1eddbec881401
mempool: fix creation with Xen dom0

Restore the use of 2M hugepages when using Xen Dom0 that was
dropped during mempool rework.

Fixes: c042ba20674a ("mempool: rework support of Xen dom0")

Reported-by: Huilong Xu <huilongx.xu@intel.com>
Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
lib/librte_mempool/rte_mempool.c