]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_eal/common/eal_hugepages.h
doc: add Meson coding style to contributors guide
[dpdk.git] / lib / librte_eal / common / eal_hugepages.h
index ad1b0b6a20e3ff0931a84e190e5a6b09486ebe19..1b560d3379da3b4b21b0165c994695ee4edbf8d2 100644 (file)
@@ -12,7 +12,7 @@
 #define MAX_HUGEPAGE_PATH PATH_MAX
 
 /**
- * Structure used to store informations about hugepages that we mapped
+ * Structure used to store information about hugepages that we mapped
  * 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);
 
+/**
+ * Read whatever information primary process has shared about hugepages into
+ * secondary process.
+ */
+int eal_hugepage_info_read(void);
+
 #endif /* EAL_HUGEPAGES_H */