Re: [dpdk-dev] [PATCH v2 1/8] ipc: fix rte_mp_request_sync memleak

2019-04-25 Thread Burakov, Anatoly
On 23-Apr-19 6:43 PM, Herakliusz Lipiec wrote: When sending multiple requests, rte_mp_request_sync can succeed sending a few of those requests, but then fail on a later one and in the end return with rc=-1. The upper layers - e.g. device hotplug - currently handles this case as if no messages wer

Re: [dpdk-dev] [PATCH v2 1/8] ipc: fix rte_mp_request_sync memleak

2019-04-24 Thread Stojaczyk, Dariusz
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Herakliusz Lipiec > Sent: Tuesday, April 23, 2019 7:43 PM > Cc: dev@dpdk.org; Lipiec, Herakliusz ; > jianfeng@intel.com; sta...@dpdk.org > Subject: [dpdk-dev] [PATCH v2 1/8] ipc: fix r

[dpdk-dev] [PATCH v2 1/8] ipc: fix rte_mp_request_sync memleak

2019-04-23 Thread Herakliusz Lipiec
When sending multiple requests, rte_mp_request_sync can succeed sending a few of those requests, but then fail on a later one and in the end return with rc=-1. The upper layers - e.g. device hotplug - currently handles this case as if no messages were sent and no memory for response buffers was all