[dpdk-dev] [PATCH v1 40/72] net/mlx5/windows: define errno ETOOMANYREFS
Ophir Munk
ophirmu at nvidia.com
Wed Oct 28 00:23:03 CET 2020
Errno ETOOMANYREFS may not be supported under Windows. In such cases
add its definition.
Signed-off-by: Ophir Munk <ophirmu at nvidia.com>
---
drivers/net/mlx5/windows/mlx5_os.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/net/mlx5/windows/mlx5_os.h b/drivers/net/mlx5/windows/mlx5_os.h
index dd3515c..563cfa4 100644
--- a/drivers/net/mlx5/windows/mlx5_os.h
+++ b/drivers/net/mlx5/windows/mlx5_os.h
@@ -18,4 +18,7 @@ enum {
#define PTHREAD_MUTEX_INITIALIZER {(void *)-1, -1, 0, 0, 0, 0}
#define rte_intr_free_epoll_fd
+#ifndef ETOOMANYREFS
+#define ETOOMANYREFS 109 /* Too many references: cannot splice */
+#endif
#endif /* RTE_PMD_MLX5_OS_H_ */
--
2.8.4
More information about the dev
mailing list