dev.dpdk.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] fix mempool when --no-huge option is set
@ 2013-07-26 14:39 Damien Millescamps
       [not found] ` <cover.1374849076.git.damien.millescamps-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Damien Millescamps @ 2013-07-26 14:39 UTC (permalink / raw)
  To: dev-VfR2kkLFssw

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-07-26 15:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-26 14:39 [PATCH 0/2] fix mempool when --no-huge option is set Damien Millescamps
     [not found] ` <cover.1374849076.git.damien.millescamps-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2013-07-26 14:39   ` [PATCH 1/2] mem: get hugepages config Damien Millescamps
     [not found]     ` <0e095118447ebbd42f2762edbda8218b13b58a1a.1374849076.git.damien.millescamps-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2013-07-26 14:59       ` Adrien Mazarguil
     [not found]         ` <20130726145912.GN7849-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2013-07-26 15:10           ` Thomas Monjalon
2013-07-26 14:39   ` [PATCH 2/2] mem: fix mempool for --no-huge Damien Millescamps
     [not found]     ` <be4886be27e09d0f0fa1a81be866b99bbab4f081.1374849076.git.damien.millescamps-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2013-07-26 14:59       ` Adrien Mazarguil
     [not found]         ` <20130726145932.GO7849-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2013-07-26 15:10           ` Thomas Monjalon

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).