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
eal/windows: add missing SPDX license tag
[dpdk.git]
/
lib
/
librte_eal
/
common
/
eal_hugepages.h
diff --git
a/lib/librte_eal/common/eal_hugepages.h
b/lib/librte_eal/common/eal_hugepages.h
index
ad1b0b6
..
1b560d3
100644
(file)
--- a/
lib/librte_eal/common/eal_hugepages.h
+++ b/
lib/librte_eal/common/eal_hugepages.h
@@
-12,7
+12,7
@@
#define MAX_HUGEPAGE_PATH PATH_MAX
/**
#define MAX_HUGEPAGE_PATH PATH_MAX
/**
- * Structure used to store information
s
about hugepages that we mapped
+ * Structure used to store information about hugepages that we mapped
* through the files in hugetlbfs.
*/
struct hugepage_file {
* through the files in hugetlbfs.
*/
struct hugepage_file {
@@
-26,9
+26,15
@@
struct hugepage_file {
};
/**
};
/**
- * Read the information
from linux on what hugepages are available
- *
for the EAL to use
+ * Read the information
on what hugepages are available for the EAL to use,
+ *
clearing out any unused ones.
*/
int eal_hugepage_info_init(void);
*/
int eal_hugepage_info_init(void);
+/**
+ * Read whatever information primary process has shared about hugepages into
+ * secondary process.
+ */
+int eal_hugepage_info_read(void);
+
#endif /* EAL_HUGEPAGES_H */
#endif /* EAL_HUGEPAGES_H */