Re: [dpdk-dev] [PATCH v4] net/mlx5: fix mutex unlock in txpp cleanup

2021-09-20 Thread Slava Ovsiienko
deadlock if the function was > -Original Message- > From: dev On Behalf Of Chengfeng Ye > Sent: Friday, September 3, 2021 11:44 > To: david.march...@redhat.com > Cc: dev@dpdk.org; Chengfeng Ye ; > sta...@dpdk.org > Subject: [dpdk-dev] [PATCH v4] net/mlx5: fix mutex un

[dpdk-dev] [PATCH v4] net/mlx5: fix mutex unlock in txpp cleanup

2021-09-03 Thread Chengfeng Ye
The lock sh->txpp.mutex was not correctly released if the function returned in these two branches, which may led to deadlock if the function was acquired again. Fixes: d133f4cdb7 ("net/mlx5: create clock queue for packet pacing") Cc: sta...@dpdk.org Signed-off-by: Chengfeng Ye --- drivers/net/m

[dpdk-dev] [PATCH v4] net/mlx5: fix mutex unlock in txpp cleanup

2021-08-30 Thread Chengfeng Ye
The lock sh->txpp.mutex was not correctly released if the function returned in these two branches, which may led to deadlock if the function was acquired again. Fixes: d133f4cdb7 ("net/mlx5: create clock queue for packet pacing") Cc: sta...@dpdk.org Signed-off-by: Chengfeng Ye --- drivers/net/m