[dpdk-dev] [PATCH v1 39/72] net/mlx5/windows: define epoll API to do nothing

Ophir Munk ophirmu at nvidia.com
Wed Oct 28 00:23:02 CET 2020


This is a hack commit. Linux epoll mechanism is not implemented in
Windows.  Therefore define rte_intr_free_epoll_fd API to do nothing.

Signed-off-by: Ophir Munk <ophirmu at 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 5f4abc3..dd3515c 100644
--- a/drivers/net/mlx5/windows/mlx5_os.h
+++ b/drivers/net/mlx5/windows/mlx5_os.h
@@ -17,4 +17,5 @@ enum {
 #define PCI_DRV_FLAGS 0
 
 #define PTHREAD_MUTEX_INITIALIZER {(void *)-1, -1, 0, 0, 0, 0}
+#define rte_intr_free_epoll_fd
 #endif /* RTE_PMD_MLX5_OS_H_ */
-- 
2.8.4



More information about the dev mailing list