On Tue, Apr 6, 2021 at 4:50 PM Renata Saiakhova
<[email protected]> wrote:
>
> Avoid race with unregister interrupt handler 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]>
> Acked-by: Anatoly Burakov <[email protected]>
> Acked-by: Harman Kalra <[email protected]>
> ---
[snip]
> diff --git a/lib/librte_eal/version.map b/lib/librte_eal/version.map
> index e23745ae6..88d88aaed 100644
> --- a/lib/librte_eal/version.map
> +++ b/lib/librte_eal/version.map
> @@ -421,6 +421,7 @@ EXPERIMENTAL {
> rte_version_release;
> rte_version_suffix;
> rte_version_year;
> + rte_intr_callback_unregister_sync;
Sorted this alphabetically + added symbol in rte_eal_exports.def.
Applied, thanks.
--
David Marchand