summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Monjalon <thomas.monjalon@6wind.com>2013-04-08 18:13:06 +0200
committerThomas Monjalon <thomas.monjalon@6wind.com>2013-09-17 14:16:12 +0200
commit84136020d5690ce083bc540969f1f14d1d0078e0 (patch)
tree1cdc1c638f56182efe5a772cf8f9372d6a769629
parent27845a464f62fb7cf22685b6d046b2bf0b2acc3a (diff)
downloaddpdk-84136020d5690ce083bc540969f1f14d1d0078e0.zip
dpdk-84136020d5690ce083bc540969f1f14d1d0078e0.tar.gz
dpdk-84136020d5690ce083bc540969f1f14d1d0078e0.tar.xz
mem: fix log for --no-huge
In some cases, it is possible to not use hugepages. So a simple malloc is used to initialize DPDK memory. Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com> Acked-by: Damien Millescamps <damien.millescamps@6wind.com>
-rw-r--r--lib/librte_eal/linuxapp/eal/eal_memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/librte_eal/linuxapp/eal/eal_memory.c b/lib/librte_eal/linuxapp/eal/eal_memory.c
index 9cac99b..aceb1e2 100644
--- a/lib/librte_eal/linuxapp/eal/eal_memory.c
+++ b/lib/librte_eal/linuxapp/eal/eal_memory.c
@@ -1112,7 +1112,7 @@ rte_eal_memdevice_init(void)
int
rte_eal_memory_init(void)
{
- RTE_LOG(INFO, EAL, "Setting up hugepage memory...\n");
+ RTE_LOG(INFO, EAL, "Setting up memory...\n");
const int retval = rte_eal_process_type() == RTE_PROC_PRIMARY ?
rte_eal_hugepage_init() :
rte_eal_hugepage_attach();