mempool: use specific macro for object alignment
[dpdk.git] / lib / librte_mempool / rte_mempool_ops_default.c
index e6be715..22fccf9 100644 (file)
@@ -60,7 +60,7 @@ rte_mempool_op_calc_mem_size_helper(const struct rte_mempool *mp,
        }
 
        *min_chunk_size = total_elt_sz;
-       *align = RTE_CACHE_LINE_SIZE;
+       *align = RTE_MEMPOOL_ALIGN;
 
        return mem_size;
 }