28/10/2020 00:23, Ophir Munk: > PTHREAD_MUTEX_INITIALIZER is a Linux macro defined in > /usr/include/pthread.h. It is used by mlx5 PMD but it is not included > in DPDK Windows pthread implementation. Therefore define it privately > in windows/mlx5_os.h file.
You should not define EAL stuff privately in the PMD. I remember Microsoft discouraged the definition of mutex initializer. Instead we have pthread_mutex_init().