Re: [dpdk-dev] [PATCH v2] ipc: stop mp control thread on cleanup

2021-07-08 Thread David Marchand
On Thu, Jul 8, 2021 at 9:23 AM Maxime Coquelin wrote: > On 7/7/21 1:02 PM, David Marchand wrote: > > When calling rte_eal_cleanup, the mp channel cleanup routine only sets > > mp_fd to -1 leaving the rte_mp_handle control thread running. > > This control thread can spew warnings on reading on an i

Re: [dpdk-dev] [PATCH v2] ipc: stop mp control thread on cleanup

2021-07-08 Thread Maxime Coquelin
On 7/7/21 1:02 PM, David Marchand wrote: > When calling rte_eal_cleanup, the mp channel cleanup routine only sets > mp_fd to -1 leaving the rte_mp_handle control thread running. > This control thread can spew warnings on reading on an invalid fd. > This is especially noticed with ASAN enabled. >

[dpdk-dev] [PATCH v2] ipc: stop mp control thread on cleanup

2021-07-07 Thread David Marchand
When calling rte_eal_cleanup, the mp channel cleanup routine only sets mp_fd to -1 leaving the rte_mp_handle control thread running. This control thread can spew warnings on reading on an invalid fd. This is especially noticed with ASAN enabled. To handle this situation, set mp_fd to -1 to signal