DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] mempool item alignment
@ 2021-01-04 12:09 Filip Janiszewski
  0 siblings, 0 replies; only message in thread
From: Filip Janiszewski @ 2021-01-04 12:09 UTC (permalink / raw)
  To: users

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-01-04 12:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-04 12:09 [dpdk-users] mempool item alignment Filip Janiszewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).