Re: [dpdk-dev] [PATCH] net/mlx5: fix event handler uninstall

2019-05-26 Thread Shahaf Shuler
Hi Slava, Saturday, May 25, 2019 12:26 PM, Of Viacheslav Ovsiienko: > Subject: [dpdk-dev] [PATCH] net/mlx5: fix event handler uninstall > > When device is being closed and tries to unregister interrupt callback, there > is > a chance the handler is still active (calle

[dpdk-dev] [PATCH] net/mlx5: fix event handler uninstall

2019-05-25 Thread Viacheslav Ovsiienko
When device is being closed and tries to unregister interrupt callback, there is a chance the handler is still active (called in context of eal_intr_thread_main thread). If so the rte_intr_callback_unregister returns -EAGAIN and keeps the handler registered, causing crash when underlaying resourse