Checks
Context | Check | Description |
---|---|---|
ci/checkpatch | success | coding style OK |
Commit Message
Ophir Munk
Oct. 27, 2020, 11:23 p.m. UTC
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@nvidia.com>
---
drivers/net/mlx5/windows/mlx5_os.h | 1 +
1 file changed, 1 insertion(+)
Comments
28/10/2020 00:23, Ophir Munk: > This is a hack commit. Linux epoll mechanism is not implemented in > Windows. Therefore define rte_intr_free_epoll_fd API to do nothing. Yes this is hack. Better to have a stub in EAL.
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_ */