All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Gonzalez Monroy, Sergio" <sergio.gonzalez.monroy-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
To: "dev-VfR2kkLFssw@public.gmane.org" <dev-VfR2kkLFssw@public.gmane.org>
Subject: Regarding rte_memzone_reserve with len =0
Date: Wed, 06 May 2015 17:10:50 +0100	[thread overview]
Message-ID: <554A3D0A.6070605@intel.com> (raw)

Hi,

I was wondering about the use case of rte_memzone_reserve_xxxx APIs with 
len=0.

 From the docs (http://dpdk.org/doc/api/rte__memzone_8h.html):
len          The size of the memory to be reserved. If it is 0, the 
biggest contiguous zone will be reserved.

What are the use cases?
When would you want a memzone of undetermined size?

Any thoughts appreciated.

Sergio

             reply	other threads:[~2015-05-06 16:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-06 16:10 Gonzalez Monroy, Sergio [this message]
2015-05-12 14:48 ` Regarding rte_memzone_reserve with len =0 Olivier MATZ
2015-05-13 10:14   ` Gonzalez Monroy, Sergio
2015-05-13 11:08     ` Olivier MATZ

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=554A3D0A.6070605@intel.com \
    --to=sergio.gonzalez.monroy-ral2jqcrhueavxtiumwx3w@public.gmane.org \
    --cc=dev-VfR2kkLFssw@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.