Re: [dpdk-dev] [PATCH] mem: fix cleanup on Windows

2021-03-24 Thread David Marchand
On Wed, Mar 24, 2021 at 7:01 PM Dmitry Kozlyuk wrote: > > rte_mem_unmap() called from rte_eal_memory_detach() fails on Windows > with message "EAL: Could not unmap memory: No error". This is because > on Windows memory is not allocated using mapping. Confusing "No error" > is caused by using errno

[dpdk-dev] [PATCH] mem: fix cleanup on Windows

2021-03-24 Thread Dmitry Kozlyuk
rte_mem_unmap() called from rte_eal_memory_detach() fails on Windows with message "EAL: Could not unmap memory: No error". This is because on Windows memory is not allocated using mapping. Confusing "No error" is caused by using errno instead of rte_errno set by rte_mem_unmap(). Multi-process is n