]> git.droids-corp.org - dpdk.git/commit
mempool: remove optimistic IOVA-contiguous allocation
authorOlivier Matz <olivier.matz@6wind.com>
Mon, 4 Nov 2019 15:12:50 +0000 (16:12 +0100)
committerOlivier Matz <olivier.matz@6wind.com>
Tue, 5 Nov 2019 14:37:06 +0000 (15:37 +0100)
commit72bc630700dcbf31f92f42ee8aa668e17e4d0b23
tree5b52f459863a217611cdec60446f68800d7e5071
parentd9339d20e14f6cc19fe8cad4df3ab26a7c444772
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