mempool: remove optimistic IOVA-contiguous allocation
authorOlivier Matz <olivier.matz@6wind.com>
Tue, 5 Nov 2019 15:37:02 +0000 (16:37 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 6 Nov 2019 10:11:11 +0000 (11:11 +0100)
commit035ee5bea5efde0b550bb3f1b5b4b6d35498b8e4
tree1c4274808444120dfa2d9e3faef2ed8dd558078c
parenteba11e36461404109cfe9ed0c5daaa3e80725122
mempool: remove optimistic IOVA-contiguous allocation

The previous commit reduced the amount of required memory when
populating the mempool with non IOVA-contiguous memory.

Since there is no big advantage to have a fully iova-contiguous mempool
if it is not explicitly asked, remove this code, it simplifies the
populate function.

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Reviewed-by: Andrew Rybchenko <arybchenko@solarflare.com>
Acked-by: Nipun Gupta <nipun.gupta@nxp.com>
lib/librte_mempool/rte_mempool.c