git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
log/linux: make default output stderr
[dpdk.git]
/
lib
/
librte_eal
/
linux
/
eal_memory.c
diff --git
a/lib/librte_eal/linux/eal_memory.c
b/lib/librte_eal/linux/eal_memory.c
index
3e47efe
..
03a4f2d
100644
(file)
--- a/
lib/librte_eal/linux/eal_memory.c
+++ b/
lib/librte_eal/linux/eal_memory.c
@@
-713,8
+713,8
@@
remap_segment(struct hugepage_file *hugepages, int seg_start, int seg_end)
}
if (msl_idx == RTE_MAX_MEMSEG_LISTS) {
RTE_LOG(ERR, EAL, "Could not find space for memseg. Please increase %s and/or %s in configuration.\n",
}
if (msl_idx == RTE_MAX_MEMSEG_LISTS) {
RTE_LOG(ERR, EAL, "Could not find space for memseg. Please increase %s and/or %s in configuration.\n",
- RTE_STR(
CONFIG_
RTE_MAX_MEMSEG_PER_TYPE),
- RTE_STR(
CONFIG_RTE_MAX_MEM
_PER_TYPE));
+ RTE_STR(RTE_MAX_MEMSEG_PER_TYPE),
+ RTE_STR(
RTE_MAX_MEM_MB
_PER_TYPE));
return -1;
}
return -1;
}
@@
-963,7
+963,7
@@
prealloc_segments(struct hugepage_file *hugepages, int n_pages)
}
if (msl_idx == RTE_MAX_MEMSEG_LISTS) {
RTE_LOG(ERR, EAL, "Not enough space in memseg lists, please increase %s\n",
}
if (msl_idx == RTE_MAX_MEMSEG_LISTS) {
RTE_LOG(ERR, EAL, "Not enough space in memseg lists, please increase %s\n",
- RTE_STR(
CONFIG_
RTE_MAX_MEMSEG_LISTS));
+ RTE_STR(RTE_MAX_MEMSEG_LISTS));
return -1;
}
return -1;
}
@@
-1818,7
+1818,7
@@
memseg_primary_init_32(void)
if (msl_idx >= RTE_MAX_MEMSEG_LISTS) {
RTE_LOG(ERR, EAL,
"No more space in memseg lists, please increase %s\n",
if (msl_idx >= RTE_MAX_MEMSEG_LISTS) {
RTE_LOG(ERR, EAL,
"No more space in memseg lists, please increase %s\n",
- RTE_STR(
CONFIG_
RTE_MAX_MEMSEG_LISTS));
+ RTE_STR(RTE_MAX_MEMSEG_LISTS));
return -1;
}
return -1;
}