Re: [dpdk-dev] [PATCH] net/mlx5: fix flow tables double release

2021-09-29 Thread Thomas Monjalon
29/09/2021 09:55, Matan Azrad: > From: Bing Zhao > > In the function mlx5_alloc_shared_dr(), there are various reasons to result > > in > > a failure and error clean up process. While in the caller of > > mlx5_dev_spawn(), > > once there is a error occurring after the mlx5_alloc_shared_dr(), the

Re: [dpdk-dev] [PATCH] net/mlx5: fix flow tables double release

2021-09-29 Thread Matan Azrad
From: Bing Zhao > In the function mlx5_alloc_shared_dr(), there are various reasons to result in > a failure and error clean up process. While in the caller of mlx5_dev_spawn(), > once there is a error occurring after the mlx5_alloc_shared_dr(), the > mlx5_os_free_shared_dr() is called to releas

[dpdk-dev] [PATCH] net/mlx5: fix flow tables double release

2021-09-28 Thread Bing Zhao
In the function mlx5_alloc_shared_dr(), there are various reasons to result in a failure and error clean up process. While in the caller of mlx5_dev_spawn(), once there is a error occurring after the mlx5_alloc_shared_dr(), the mlx5_os_free_shared_dr() is called to release all the resources. To pr