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
mem: make segment preallocation OS-specific
[dpdk.git]
/
lib
/
librte_eal
/
common
/
eal_private.h
diff --git
a/lib/librte_eal/common/eal_private.h
b/lib/librte_eal/common/eal_private.h
index
bdadc4d
..
b742f4c
100644
(file)
--- a/
lib/librte_eal/common/eal_private.h
+++ b/
lib/librte_eal/common/eal_private.h
@@
-46,6
+46,18
@@
void eal_log_set_default(FILE *default_log);
*/
int rte_eal_cpu_init(void);
+/**
+ * Create memseg lists
+ *
+ * This function is private to EAL.
+ *
+ * Preallocate virtual memory.
+ *
+ * @return
+ * 0 on success, negative on error
+ */
+int rte_eal_memseg_init(void);
+
/**
* Map memory
*