mempool: prevent objects from being across pages
authorOlivier Matz <olivier.matz@6wind.com>
Tue, 5 Nov 2019 15:37:05 +0000 (16:37 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 6 Nov 2019 10:34:19 +0000 (11:34 +0100)
commit84626a0d61a624dad11614946accc8eebd52353b
tree9ef4050f7fe6f659921ce0bd6d2c6c35e977596c
parent23bdcedcd8caa0d268b615df3bdb08411f97856e
mempool: prevent objects from being across pages

When populating a mempool, ensure that objects are not located across
several pages, except if user did not request IOVA-contiguous objects.

Signed-off-by: Vamsi Attunuru <vattunuru@marvell.com>
Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Acked-by: Nipun Gupta <nipun.gupta@nxp.com>
Acked-by: Andrew Rybchenko <arybchenko@solarflare.com>
doc/guides/rel_notes/release_19_11.rst
drivers/mempool/bucket/rte_mempool_bucket.c
drivers/mempool/dpaa/dpaa_mempool.c
drivers/mempool/dpaa2/dpaa2_hw_mempool.c
drivers/mempool/octeontx/rte_mempool_octeontx.c
drivers/mempool/octeontx2/otx2_mempool_ops.c
lib/librte_mempool/rte_mempool.c
lib/librte_mempool/rte_mempool.h
lib/librte_mempool/rte_mempool_ops_default.c