2021-04-02 15:14 (UTC-0700), Jie Zhou: > On Wed, Mar 31, 2021 at 12:10:03PM -0700, Kadam, Pallavi wrote: > > > > On 3/19/2021 9:51 AM, Jie Zhou wrote: > > >From: Jie Zhou <j...@microsoft.com> [...] > > >--- a/app/test-pmd/testpmd.c > > >+++ b/app/test-pmd/testpmd.c > > >@@ -9,7 +9,9 @@ > > > #include <string.h> > > > #include <time.h> > > > #include <fcntl.h> > > >+#ifndef RTE_EXEC_ENV_WINDOWS > > > #include <sys/mman.h> > > >+#endif > > > > Can 'mmap' and 'munmap' be replaced with 'rte_mem_map' and > > 'rte_mem_unmap' and #include <rte_eal_paging.h> instead? > > > Thanks Pallavi, will address in next version.
Note that rte_mem_map() doesn't allow mapping hugepages of different sizes, so xmemhuge will probably remain unsupported on Windows for now.