crypto/mlx5: replace mutex initializer
authorTal Shnaiderman <talshn@nvidia.com>
Mon, 25 Oct 2021 08:46:14 +0000 (11:46 +0300)
committerAkhil Goyal <gakhil@marvell.com>
Thu, 4 Nov 2021 18:43:14 +0000 (19:43 +0100)
commit2f5dceff715ebd1faf44a5191b52d46bf9ada2d1
tree430f3d0a7e317234f73c3cf2cb256bbf6dd86095
parent11f99cfc886fff5e7c60218c50d993227871460f
crypto/mlx5: replace mutex initializer

Remove the usage of PTHREAD_MUTEX_INITIALIZER which is not
supported in Windows and initialize priv_list_lock in RTE_INIT.

Signed-off-by: Tal Shnaiderman <talshn@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
drivers/crypto/mlx5/mlx5_crypto.c