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 <ophi...@nvidia.com> --- drivers/net/mlx5/windows/mlx5_os.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/mlx5/windows/mlx5_os.h b/drivers/net/mlx5/windows/mlx5_os.h index bb1aa27..5f4abc3 100644 --- a/drivers/net/mlx5/windows/mlx5_os.h +++ b/drivers/net/mlx5/windows/mlx5_os.h @@ -16,4 +16,5 @@ enum { #define PCI_DRV_FLAGS 0 +#define PTHREAD_MUTEX_INITIALIZER {(void *)-1, -1, 0, 0, 0, 0} #endif /* RTE_PMD_MLX5_OS_H_ */ -- 2.8.4