eal: simplify meson build of common directory
[dpdk.git] / lib / librte_eal / common / include / rte_eal_memconfig.h
index 34b0e44..dede2ee 100644 (file)
@@ -5,6 +5,8 @@
 #ifndef _RTE_EAL_MEMCONFIG_H_
 #define _RTE_EAL_MEMCONFIG_H_
 
+#include <stdbool.h>
+
 #include <rte_compat.h>
 
 /**
@@ -109,6 +111,17 @@ __rte_experimental
 void
 rte_mcfg_timer_unlock(void);
 
+/**
+ * @warning
+ * @b EXPERIMENTAL: this API may change without prior notice
+ *
+ * If true, pages are put in single files (per memseg list),
+ * as opposed to creating a file per page.
+ */
+__rte_experimental
+bool
+rte_mcfg_get_single_file_segments(void);
+
 #ifdef __cplusplus
 }
 #endif