[dpdk-dev] [PATCH 0/2] fix mempool when --no-huge option is set
Damien Millescamps
damien.millescamps at 6wind.com
Fri Jul 26 16:39:11 CEST 2013
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
More information about the dev
mailing list