Skip to content

fix mempool when --no-huge option is set

Damien Millescamps dpdk-dev 1 version Applied

Status from this message: applied

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2mem: get hugepages configlib/librte_eal/common/include/rte_eal.h lib/librte_eal/linuxapp/eal/eal.c+16 -12 replies
2/2mem: fix mempool for --no-hugelib/librte_eal/linuxapp/eal/eal_memory.c lib/librte_mempool/rte_mempool.c lib/librte_mempool/rte_mempool.h+67 -92 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchAdrien Mazarguil
1/2A-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] fix mempool when --no-huge option is set

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(-)
Signature · 1 line
1.7.2.5