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

DPDK usage discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.dpdk.org/users/0 users/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 users users/ http://inbox.dpdk.org/users \
		users@dpdk.org
	public-inbox-index users

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.users


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git