From: Damien Millescamps <damien.millescamps@6wind.com>
To: dev@dpdk.org
Subject: [dpdk-dev] [PATCH 0/2] fix mempool when --no-huge option is set
Date: Fri, 26 Jul 2013 16:39:11 +0200 [thread overview]
Message-ID: <cover.1374849076.git.damien.millescamps@6wind.com> (raw)
This set of patch permits to use the --no-huge option to create valid mempools.
However, drivers necessitating a physically contiguous memory larger than a standard
page won't work in this mode.
Only vmxnet3-usermap will work in this mode among the available open source PMD.
This can be useful for old kernels (< 2.6.33) and VM with limited amount of mempory.
Damien Millescamps (2):
mem: get hugepages config
mem: fix mempool for --no-huge
lib/librte_eal/common/include/rte_eal.h | 13 +++++++-
lib/librte_eal/linuxapp/eal/eal.c | 4 ++
lib/librte_eal/linuxapp/eal/eal_memory.c | 2 +-
lib/librte_mempool/rte_mempool.c | 54 +++++++++++++++++++++++++++++-
lib/librte_mempool/rte_mempool.h | 20 +++++++----
5 files changed, 83 insertions(+), 10 deletions(-)
--
1.7.2.5
next reply other threads:[~2013-07-26 14:39 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-26 14:39 Damien Millescamps [this message]
2013-07-26 14:39 ` [dpdk-dev] [PATCH 1/2] mem: get hugepages config Damien Millescamps
2013-07-26 14:59 ` Adrien Mazarguil
2013-07-26 15:10 ` Thomas Monjalon
2013-07-26 14:39 ` [dpdk-dev] [PATCH 2/2] mem: fix mempool for --no-huge Damien Millescamps
2013-07-26 14:59 ` Adrien Mazarguil
2013-07-26 15:10 ` Thomas Monjalon
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=cover.1374849076.git.damien.millescamps@6wind.com \
--to=damien.millescamps@6wind.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).