Re: [dpdk-dev] [PATCH v1 38/72] net/mlx5/windows: add pthread initializer definition

2020-10-28 Thread Thomas Monjalon
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 private

[dpdk-dev] [PATCH v1 38/72] net/mlx5/windows: add pthread initializer definition

2020-10-27 Thread 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. Signed-off-by: Ophir Munk --- drivers/net/mlx5/windows/mlx5_os.h | 1 + 1 f