[v2] eal/windows: add stub for rte_intr_free_epoll_fd
Checks
Commit Message
Linux epoll mechanism is not implemented in Windows.
Add stub similarly to freeBSD.
Signed-off-by: Tal Shnaiderman <talshn@nvidia.com>
---
v2: add missing export in def file [DavidM]
---
lib/librte_eal/rte_eal_exports.def | 1 +
lib/librte_eal/windows/eal_interrupts.c | 6 ++++++
2 files changed, 7 insertions(+)
Comments
On Thu, 19 Nov 2020 17:18:11 +0200, Tal Shnaiderman wrote:
> Linux epoll mechanism is not implemented in Windows.
>
> Add stub similarly to freeBSD.
>
> Signed-off-by: Tal Shnaiderman <talshn@nvidia.com>
>
> ---
> v2: add missing export in def file [DavidM]
> ---
> lib/librte_eal/rte_eal_exports.def | 1 +
> lib/librte_eal/windows/eal_interrupts.c | 6 ++++++
> 2 files changed, 7 insertions(+)
Acked-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
@@ -63,6 +63,7 @@ EXPORTS
rte_get_tsc_hz
rte_hexdump
rte_hypervisor_get
+ rte_intr_free_epoll_fd
rte_intr_rx_ctl
rte_lcore_count
rte_lcore_has_role
@@ -105,3 +105,9 @@ eal_intr_thread_schedule(void (*func)(void *arg), void *arg)
return 0;
}
+
+void
+rte_intr_free_epoll_fd(struct rte_intr_handle *intr_handle)
+{
+ RTE_SET_USED(intr_handle);
+}