X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Flibrte_eal%2Fcommon%2Finclude%2Frte_eal_memconfig.h;h=dede2ee3242ec39f4f85280a6bfe1f5db6108045;hb=43b815d881885a63d8d4691f07f7a93e1a01f6d4;hp=34b0e44a054237addf0b9f0cddc1e04583c98bda;hpb=6c373e935a34eefb4e3fd76c950e8703b7addbec;p=dpdk.git diff --git a/lib/librte_eal/common/include/rte_eal_memconfig.h b/lib/librte_eal/common/include/rte_eal_memconfig.h index 34b0e44a05..dede2ee324 100644 --- a/lib/librte_eal/common/include/rte_eal_memconfig.h +++ b/lib/librte_eal/common/include/rte_eal_memconfig.h @@ -5,6 +5,8 @@ #ifndef _RTE_EAL_MEMCONFIG_H_ #define _RTE_EAL_MEMCONFIG_H_ +#include + #include /** @@ -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