DPDK patches and discussions
 help / color / mirror / Atom feed
From: Dariusz Sosnowski <dsosnowski@nvidia.com>
To: Gregory Etelson <getelson@nvidia.com>, "dev@dpdk.org" <dev@dpdk.org>
Cc: Gregory Etelson <getelson@nvidia.com>,
	Maayan Kashani <mkashani@nvidia.com>,
	Raslan Darawsheh <rasland@nvidia.com>,
	Itamar Gozlan <igozlan@nvidia.com>
Subject: RE: [PATCH] net/mlx5/hws: change error flow on matcher disconnect
Date: Wed, 26 Feb 2025 08:44:17 +0000	[thread overview]
Message-ID: <CH3PR12MB8460C2DFB17D107690537BCAA4C22@CH3PR12MB8460.namprd12.prod.outlook.com> (raw)
In-Reply-To: <20250209134806.263338-1-getelson@nvidia.com>

> -----Original Message-----
> From: Gregory Etelson <getelson@nvidia.com>
> Sent: Sunday, February 9, 2025 2:48 PM
> To: dev@dpdk.org
> Cc: Gregory Etelson <getelson@nvidia.com>; Maayan Kashani
> <mkashani@nvidia.com>; Raslan Darawsheh <rasland@nvidia.com>; Itamar
> Gozlan <igozlan@nvidia.com>
> Subject: [PATCH] net/mlx5/hws: change error flow on matcher disconnect
> 
> External email: Use caution opening links or attachments
> 
> 
> From: Itamar Gozlan <igozlan@nvidia.com>
> 
> Currently, when a firmware (FW) failure occurs during matcher error flow, the
> system attempts to reconnect the matcher, leading to a segmentation fault. This
> happens because the matcher is freed but remains in the list.
> 
> Example scenario:
> Given matchers M1->M2->M3, if a FW failure occurs:
> 1. System tries to destroy M1 and fails
> 2. M1 remains in the list but is freed
> 3. When destroying M2, it attempts to remove itself and create M1->M3 4. This
> results in a segmentation fault as M1 is already freed
> 
> Signed-off-by: Itamar Gozlan <igozlan@nvidia.com>

Acked-by: Dariusz Sosnowski <dsosnowski@nvidia.com>

Best regards,
Dariusz Sosnowski

  reply	other threads:[~2025-02-26  8:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-09 13:48 Gregory Etelson
2025-02-26  8:44 ` Dariusz Sosnowski [this message]
2025-02-26 13:52 ` Raslan Darawsheh

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=CH3PR12MB8460C2DFB17D107690537BCAA4C22@CH3PR12MB8460.namprd12.prod.outlook.com \
    --to=dsosnowski@nvidia.com \
    --cc=dev@dpdk.org \
    --cc=getelson@nvidia.com \
    --cc=igozlan@nvidia.com \
    --cc=mkashani@nvidia.com \
    --cc=rasland@nvidia.com \
    /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;
as well as URLs for NNTP newsgroup(s).