mempool: use specific macro for object alignment
authorOlivier Matz <olivier.matz@6wind.com>
Tue, 5 Nov 2019 15:37:06 +0000 (16:37 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 6 Nov 2019 10:34:19 +0000 (11:34 +0100)
commitb32037f7ef384e664200baedbb4aebe9a216f73d
treeedc8437c5c3100cfe4d05069b54b5d8c2e612efd
parent84626a0d61a624dad11614946accc8eebd52353b
mempool: use specific macro for object alignment

For consistency, RTE_MEMPOOL_ALIGN should be used in place of
RTE_CACHE_LINE_SIZE. They have the same value, because the only arch
that was defining a specific value for it has been removed from DPDK.

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
lib/librte_mempool/rte_mempool.h
lib/librte_mempool/rte_mempool_ops_default.c