On Sat, Sep 26, 2020 at 02:32:42AM +0300, Dmitry Kozlyuk wrote: > Windows interrupt support is based on IO completion ports (IOCP). > Interrupt thread would send the devices requests to notify about > interrupts and then wait for any request completion. Add skeleton code > of this model without any hardware support. > > Another way to wake up the interrupt thread is APC (asynchronous procedure > call), scheduled by any other thread via eal_intr_thread_schedule(). > This internal API is intended for alarm implementation. > > Signed-off-by: Dmitry Kozlyuk <dmitry.kozl...@gmail.com> > --- > lib/librte_eal/include/rte_eal_interrupts.h | 14 ++- > lib/librte_eal/rte_eal_exports.def | 1 + > lib/librte_eal/windows/eal.c | 5 ++ > lib/librte_eal/windows/eal_interrupts.c | 94 +++++++++++++++++++++ > lib/librte_eal/windows/eal_windows.h | 12 +++ > lib/librte_eal/windows/include/pthread.h | 7 ++ > 6 files changed, 130 insertions(+), 3 deletions(-) >
Acked-by: Narcisa Vasile <navas...@linux.microsoft.com>