Tal Shnaiderman ef65067c46 net/mlx5: initialize context list mutex dynamically
The mutex mlx5_dev_ctx_list_mutex was initialized with
PTHREAD_MUTEX_INITIALIZER global macro however this macro
is not supported on Windows OS shim implementation of pthreads
in DPDK.

Moved the init of this mutex to RTE_INIT to support this mutex
on both OSs.

Signed-off-by: Tal Shnaiderman <talshn@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
2021-01-08 16:03:08 +01:00
..
2020-10-09 13:17:42 +02:00
2020-09-18 18:55:06 +02:00
2021-01-08 16:03:07 +01:00
2020-11-03 23:35:04 +01:00
2020-11-03 23:35:04 +01:00