summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorThomas Monjalon <thomas.monjalon@6wind.com>2013-04-08 18:13:06 +0200
committerThomas Monjalon <thomas.monjalon@6wind.com>2014-01-15 18:08:44 +0100
commitbc51023eb1d32fc7f7f21bad469cd708a396581c (patch)
treea1ec4b3a197272884b3db0b44225d5c198124b61 /lib
parente363ec900d4f433a31554c71e9082c0e092d16f7 (diff)
downloaddpdk-bc51023eb1d32fc7f7f21bad469cd708a396581c.zip
dpdk-bc51023eb1d32fc7f7f21bad469cd708a396581c.tar.gz
dpdk-bc51023eb1d32fc7f7f21bad469cd708a396581c.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>
Diffstat (limited to 'lib')
-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 22dbdea..f92fe95 100644
--- a/lib/librte_eal/linuxapp/eal/eal_memory.c
+++ b/lib/librte_eal/linuxapp/eal/eal_memory.c
@@ -1116,7 +1116,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();