[dpdk-users] mempool item alignment
Filip Janiszewski
contact at filipjaniszewski.com
Mon Jan 4 13:09:04 CET 2021
Hi,
Is there a way to force the items allocated from a mempool to have a
certain alignment?
I've attempted to add:
.
#ifdef RTE_MEMPOOL_ALIGN
#undef RTE_MEMPOOL_ALIGN
#endif
#define RTE_MEMPOOL_ALIGN 512
.
Before including the rte mempool header, but the pointers i get from
rte_mempool_get are still aligned to 64.
Thanks
--
BR, Filip
+48 666 369 823
More information about the users
mailing list