On 5/1/2021 7:33 PM, Dmitry Kozlyuk wrote:
Each time a work was scheduled in the interrupt thread,
usually an alarm, a handle was opened but not closed.

Opening a handle is a system call, which harms alarm precision.
Instead of opening and closing a handle each time, open it
when interrupt thread starts and close it when the thread finishes.

Fixes: 5c016fc0205a ("eal/windows: add interrupt thread skeleton")
Cc: sta...@dpdk.org

Signed-off-by: Dmitry Kozlyuk <dmitry.kozl...@gmail.com>
---

Works with i40e.

Tested-by: Pallavi Kadam <pallavi.ka...@intel.com>

Reply via email to