X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Flibrte_eal%2Flinuxapp%2Feal%2Finclude%2Feal_internal_cfg.h;h=6e92df8b0a80e3e219479322575212dad0c71bc9;hb=3b46fb77ebdb6bb6b47c578a2986077dcff68a19;hp=8f123f6a074d54bc08f0054eda111c0018d07970;hpb=a2ca32f764f8ec7399d51bd154e92704fa43e347;p=dpdk.git diff --git a/lib/librte_eal/linuxapp/eal/include/eal_internal_cfg.h b/lib/librte_eal/linuxapp/eal/include/eal_internal_cfg.h index 8f123f6a07..6e92df8b0a 100644 --- a/lib/librte_eal/linuxapp/eal/include/eal_internal_cfg.h +++ b/lib/librte_eal/linuxapp/eal/include/eal_internal_cfg.h @@ -49,7 +49,7 @@ * mount points of hugepages */ struct hugepage_info { - uint64_t hugepage_sz; /**< size of a huge page */ + size_t hugepage_sz; /**< size of a huge page */ const char *hugedir; /**< dir where hugetlbfs is mounted */ uint32_t num_pages[RTE_MAX_NUMA_NODES]; /**< number of hugepages of that size on each socket */ @@ -60,7 +60,7 @@ struct hugepage_info { * internal configuration */ struct internal_config { - volatile uint64_t memory; /**< amount of asked memory */ + volatile size_t memory; /**< amount of asked memory */ volatile unsigned force_nchannel; /**< force number of channels */ volatile unsigned force_nrank; /**< force number of ranks */ volatile unsigned no_hugetlbfs; /**< true to disable hugetlbfs */