Re: [dpdk-dev] [PATCH] vdpa/mlx5: fix configuration mutex cleanup

2021-01-27 Thread Maxime Coquelin
On 1/6/21 7:43 AM, Matan Azrad wrote: > When the vDPA device is closed, the driver polling thread is canceled. > The polling thread locks the configuration mutex while it polls the CQs. > > When the cancellation happens, it may terminate the thread inside the > critical section what remains the

Re: [dpdk-dev] [PATCH] vdpa/mlx5: fix configuration mutex cleanup

2021-01-27 Thread Maxime Coquelin
On 1/6/21 7:43 AM, Matan Azrad wrote: > When the vDPA device is closed, the driver polling thread is canceled. > The polling thread locks the configuration mutex while it polls the CQs. > > When the cancellation happens, it may terminate the thread inside the > critical section what remains the

Re: [dpdk-dev] [PATCH] vdpa/mlx5: fix configuration mutex cleanup

2021-01-07 Thread Maxime Coquelin
On 1/6/21 7:43 AM, Matan Azrad wrote: > When the vDPA device is closed, the driver polling thread is canceled. > The polling thread locks the configuration mutex while it polls the CQs. > > When the cancellation happens, it may terminate the thread inside the > critical section what remains the

[dpdk-dev] [PATCH] vdpa/mlx5: fix configuration mutex cleanup

2021-01-05 Thread Matan Azrad
When the vDPA device is closed, the driver polling thread is canceled. The polling thread locks the configuration mutex while it polls the CQs. When the cancellation happens, it may terminate the thread inside the critical section what remains the configuration mutex locked. After device close, t