DPDK patches and discussions
 help / color / mirror / Atom feed
From: Dax Rawal <daxayrawal@gmail.com>
To: Cyril Chemparathy <cchemparathy@ezchip.com>
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] mempool with custom alignment
Date: Wed, 3 Jun 2015 11:58:41 -0700	[thread overview]
Message-ID: <CAD6B5uWFfNxydROmiueMuHoJMbjqU3aRROpHOZEx9b66Rre8cQ@mail.gmail.com> (raw)
In-Reply-To: <20150603113630.06cc7b8c@cchemparathy-ubuntu>

Hi Cyril,

Definitely, yes.

Thanks.
-Dax


On Wed, Jun 3, 2015 at 11:36 AM, Cyril Chemparathy <cchemparathy@ezchip.com>
wrote:

> On Wed, 3 Jun 2015 11:30:17 -0700
> Hi Dax,
>
> Dax Rawal <daxayrawal@gmail.com> wrote:
>
> > 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.
> >
>
> I have a patch that allows configuration override of mempool element
> alignment to allow for larger alignment limits (e.g. 128B on the
> TILE-Gx platform, 256B on yours). Would that suffice? If so, I'd be
> happy to post this patch on the mailing list.
>
> Thanks
> -- Cyril.
>

  reply	other threads:[~2015-06-03 18:58 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 [this message]
2015-06-04  8:45 ` Ananyev, Konstantin
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=CAD6B5uWFfNxydROmiueMuHoJMbjqU3aRROpHOZEx9b66Rre8cQ@mail.gmail.com \
    --to=daxayrawal@gmail.com \
    --cc=cchemparathy@ezchip.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).