mempool: fix physical contiguous check
authorAndrew Rybchenko <arybchenko@solarflare.com>
Thu, 1 Feb 2018 14:02:23 +0000 (14:02 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 5 Feb 2018 23:51:19 +0000 (00:51 +0100)
commitce42ae42bc0f577d9d91c6120216b3b007170d5a
tree0e90c703320bb6a9bd34a9b1e89affd227ad396b
parent5b8526445d53aa172abf77076ffc952a5c6d2d17
mempool: fix physical contiguous check

There is not specified dependency between rte_mempool_populate_default()
and rte_mempool_populate_iova(). So, the second should not rely on the
fact that the first adds capability flags to the mempool flags.

Fixes: 65cf769f5e6a ("mempool: detect physical contiguous objects")
Cc: stable@dpdk.org
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
Acked-by: Santosh Shukla <santosh.shukla@caviumnetworks.com>
lib/librte_mempool/rte_mempool.c