mem: fix log for --no-huge
authorThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 8 Apr 2013 16:13:06 +0000 (18:13 +0200)
committerDavid Marchand <david.marchand@6wind.com>
Tue, 25 Feb 2014 20:29:19 +0000 (21:29 +0100)
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>
lib/librte_eal/linuxapp/eal/eal_memory.c

index 2eb4617..3a1822e 100644 (file)
@@ -1114,7 +1114,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();