DPDK patches and discussions
 help / color / mirror / Atom feed
From: David Marchand <david.marchand@redhat.com>
To: Renata Saiakhova <Renata.Saiakhova@ekinops.com>
Cc: Anatoly Burakov <anatoly.burakov@intel.com>,
	Harman Kalra <hkalra@marvell.com>,
	 Bruce Richardson <bruce.richardson@intel.com>,
	Ray Kinsella <mdr@ashroe.eu>,
	 Neil Horman <nhorman@tuxdriver.com>,
	Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>,
	Narcisa Ana Maria Vasile <navasile@linux.microsoft.com>,
	Dmitry Malloy <dmitrym@microsoft.com>,
	 Pallavi Kadam <pallavi.kadam@intel.com>, dev <dev@dpdk.org>
Subject: Re: [dpdk-dev] [PATCH v5 1/1] eal/interrupts: add synchronous wrapper around unregister
Date: Wed, 7 Apr 2021 11:12:01 +0200
Message-ID: <CAJFAV8yWRPQ2jeRs=bOgkO9zfaV92qLavhqx=_HDJd2e=+cB4Q@mail.gmail.com> (raw)
In-Reply-To: <20210406144614.3394-2-Renata.Saiakhova@ekinops.com>

On Tue, Apr 6, 2021 at 4:50 PM Renata Saiakhova
<Renata.Saiakhova@ekinops.com> 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 <Renata.Saiakhova@ekinops.com>
> Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
> Acked-by: Harman Kalra <hkalra@marvell.com>
> ---


> 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

      reply	other threads:[~2021-04-07  9:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-06 14:46 [dpdk-dev] [PATCH v5 0/1] " Renata Saiakhova
2021-04-06 14:46 ` [dpdk-dev] [PATCH v5 1/1] " Renata Saiakhova
2021-04-07  9:12   ` David Marchand [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJFAV8yWRPQ2jeRs=bOgkO9zfaV92qLavhqx=_HDJd2e=+cB4Q@mail.gmail.com' \
    --to=david.marchand@redhat.com \
    --cc=Renata.Saiakhova@ekinops.com \
    --cc=anatoly.burakov@intel.com \
    --cc=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    --cc=dmitry.kozliuk@gmail.com \
    --cc=dmitrym@microsoft.com \
    --cc=hkalra@marvell.com \
    --cc=mdr@ashroe.eu \
    --cc=navasile@linux.microsoft.com \
    --cc=nhorman@tuxdriver.com \
    --cc=pallavi.kadam@intel.com \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

DPDK patches and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/dev/0 dev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dev dev/ https://inbox.dpdk.org/dev \
	public-inbox-index dev

Example config snippet for mirrors.
Newsgroup available over NNTP:

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git