On 17-Aug-20 3:08 PM, Renata Saiakhova wrote:
Avoid race with unregister interrupt hanlder if interrupt
source has some active callbacks at the moment, use wrapper
around rte_intr_callback_unregister() to check for -EAGAIN
return value and to loop until rte_intr_callback_unregister()
succeeds.
Signed-off-by: Renata Saiakhova <[email protected]>
---
The subject line is too long, suggested rewording:
eal/interrupts: add synchronous wrapper around unregister
Otherwise, LGTM
Acked-by: Anatoly Burakov <[email protected]>
--
Thanks,
Anatoly