> --- a/lib/mempool/rte_mempool.h > +++ b/lib/mempool/rte_mempool.h > @@ -136,7 +136,7 @@ struct rte_mempool_objsz { > /** > * Alignment of elements inside mempool. > */ > -#define RTE_MEMPOOL_ALIGN RTE_CACHE_LINE_SIZE > +#define RTE_MEMPOOL_ALIGN 4096
NAK! This would nearly double the memory footprint of ordinary mbuf pools (with object size 2048). And the memory footprint of mempools containing small objects would explode. > #endif > > #define RTE_MEMPOOL_ALIGN_MASK (RTE_MEMPOOL_ALIGN - 1)