Re: [dpdk-dev] [PATCH v2 9/9] mem: support in-memory mode

2018-07-13 Thread Thomas Monjalon
There is a compilation error: ../lib/librte_eal/linuxapp/eal/eal_memalloc.c: In function ‘alloc_seg’: ../lib/librte_eal/linuxapp/eal/eal_memalloc.c:619:3: error: ‘map_offset’ may be used uninitialized in this function 13/07/2018 12:27, Anatoly Burakov: > Implement the final piece of the in-memor

[dpdk-dev] [PATCH v2 9/9] mem: support in-memory mode

2018-07-13 Thread Anatoly Burakov
Implement the final piece of the in-memory mode puzzle - enable running DPDK entirely in memory, without creating any files. To do it, use mmap with MAP_HUGETLB and size flags to enable DPDK to work without hugetlbfs mountpoints. In order to enable this, a few things needed to be changed. First o