Re: [dpdk-dev] [PATCH v2] mem: fix cleanup when multi-process is disabled

2021-04-09 Thread David Marchand
On Wed, Mar 24, 2021 at 8:32 PM Dmitry Kozlyuk wrote: > @@ -1050,7 +1055,10 @@ rte_eal_memory_detach(void) > * config - we can't zero it out because it might still be referenced > * by other processes. > */ > - rte_mem_unmap(mcfg, RTE_ALIGN(sizeof(*mcfg), page_sz))

Re: [dpdk-dev] [PATCH v2] mem: fix cleanup when multi-process is disabled

2021-03-26 Thread David Marchand
On Wed, Mar 24, 2021 at 8:32 PM Dmitry Kozlyuk wrote: > > rte_eal_memory_detach() did not account for cases where multi-process > mode is disabled: --in-memory and --no-shconf. This resulted > in unmapping memory that had not been mapped, which caused errors: > > EAL: Could not unmap memory: N

Re: [dpdk-dev] [PATCH v2] mem: fix cleanup when multi-process is disabled

2021-03-26 Thread Burakov, Anatoly
On 24-Mar-21 7:32 PM, Dmitry Kozlyuk wrote: rte_eal_memory_detach() did not account for cases where multi-process mode is disabled: --in-memory and --no-shconf. This resulted in unmapping memory that had not been mapped, which caused errors: EAL: Could not unmap memory: No error (Windows)

Re: [dpdk-dev] [PATCH v2] mem: fix cleanup when multi-process is disabled

2021-03-25 Thread Ranjit Menon
On 3/24/2021 12:32 PM, Dmitry Kozlyuk wrote: rte_eal_memory_detach() did not account for cases where multi-process mode is disabled: --in-memory and --no-shconf. This resulted in unmapping memory that had not been mapped, which caused errors: EAL: Could not unmap memory: No error (Windows

[dpdk-dev] [PATCH v2] mem: fix cleanup when multi-process is disabled

2021-03-24 Thread Dmitry Kozlyuk
rte_eal_memory_detach() did not account for cases where multi-process mode is disabled: --in-memory and --no-shconf. This resulted in unmapping memory that had not been mapped, which caused errors: EAL: Could not unmap memory: No error (Windows) EAL: Cannot munmap(0x1d47f40, 0x7000): Inv