DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Ananyev, Konstantin" <konstantin.ananyev@intel.com>
To: Dax Rawal <daxayrawal@gmail.com>, "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] mempool with custom alignment
Date: Thu, 4 Jun 2015 08:45:15 +0000	[thread overview]
Message-ID: <2601191342CEEE43887BDE71AB97725821434E1C@irsmsx105.ger.corp.intel.com> (raw)
In-Reply-To: <CAD6B5uUNqiD18LJQXDaA9FaOhJTepjF4woZFTM34R6FjSPLxEw@mail.gmail.com>



> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Dax Rawal
> Sent: Wednesday, June 03, 2015 7:30 PM
> To: dev@dpdk.org
> Subject: [dpdk-dev] mempool with custom alignment
> 
> Hi,
> I use mempool APIs to allocate DMA-able descriptor ring and buffers so that
> I get both physical and virtual addresses of allocated memory. I buffers I
> get from the mempool APIs are 64 byte aligned. My requirement is 256byte
> alignment. How to achieve this? mempool APIs do not seem to take alignment
> parameters.
> 
> Thanks,
> -Dax

Something like that:
http://patchwork.dpdk.org/ml/archives/dev/2014-October/006595.html
should work, I think.
Konstantin

  parent reply	other threads:[~2015-06-04  8:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-03 18:30 Dax Rawal
2015-06-03 18:36 ` Cyril Chemparathy
2015-06-03 18:58   ` Dax Rawal
2015-06-04  8:45 ` Ananyev, Konstantin [this message]
2015-06-04 17:28   ` Dax Rawal

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=2601191342CEEE43887BDE71AB97725821434E1C@irsmsx105.ger.corp.intel.com \
    --to=konstantin.ananyev@intel.com \
    --cc=daxayrawal@gmail.com \
    --cc=dev@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).