From: Filip Janiszewski <contact@filipjaniszewski.com>
To: "users@dpdk.org" <users@dpdk.org>
Subject: [dpdk-users] mempool item alignment
Date: Mon, 4 Jan 2021 13:09:04 +0100 [thread overview]
Message-ID: <197344c0-7fb6-9878-9a94-abaaa06be09c@filipjaniszewski.com> (raw)
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
reply other threads:[~2021-01-04 12:09 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=197344c0-7fb6-9878-9a94-abaaa06be09c@filipjaniszewski.com \
--to=contact@filipjaniszewski.com \
--cc=users@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).