From: Bruce Richardson <bruce.richardson@intel.com>
To: Ciara Loftus <ciara.loftus@intel.com>
Cc: <dev@dpdk.org>, Anatoly Burakov <anatoly.burakov@intel.com>
Subject: Re: [PATCH v2] net/iavf: fix reset race condition
Date: Tue, 29 Sep 2026 11:25:05 +0100 [thread overview]
Message-ID: <aruSAUwDnUvEkv-R@bricha3-mobl1.ger.corp.intel.com> (raw)
In-Reply-To: <20260928095325.37968-1-ciara.loftus@intel.com>
On Mon, Sep 28, 2026 at 09:53:25AM +0000, Ciara Loftus wrote:
> iavf_handle_hw_reset() can be called concurrently from the iavf-event
> thread handling RTE_ETH_EVENT_INTR_RESET and from any thread calling
> rte_pmd_iavf_reinit() (VF-initiated reset), with no synchronisation
> between the two. Make in_reset_recovery atomic and use it as a guard
> so only one reset runs at a time.
>
> Fixes: 28a1a72eac26 ("net/iavf: add VF initiated reset")
>
> Signed-off-by: Ciara Loftus <ciara.loftus@intel.com>
> Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
> ---
> v2:
> * Use acquire ordering in iavf_resume_pending_start()
> * Clear pf_reset_in_progress before the release store
> ---
Applied to dpdk-next-net-intel.
Thanks,
/Bruce
prev parent reply other threads:[~2026-09-29 10:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-24 8:41 [PATCH] net/iavf: fix reset race condition Ciara Loftus
2026-09-25 10:46 ` Burakov, Anatoly
2026-09-28 9:53 ` [PATCH v2] " Ciara Loftus
2026-09-29 10:25 ` Bruce Richardson [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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aruSAUwDnUvEkv-R@bricha3-mobl1.ger.corp.intel.com \
--to=bruce.richardson@intel.com \
--cc=anatoly.burakov@intel.com \
--cc=ciara.loftus@intel.com \
--cc=dev@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox