From: Dariusz Sosnowski <dsosnowski@nvidia.com>
To: Luca Boccassi <bluca@debian.org>
Cc: "stable@dpdk.org" <stable@dpdk.org>, Ori Kam <orika@nvidia.com>,
Matan Azrad <matan@nvidia.com>,
Slava Ovsiienko <viacheslavo@nvidia.com>,
Suanming Mou <suanmingm@nvidia.com>
Subject: RE: [PATCH 22.11] net/mlx5: fix async flow create error handling
Date: Wed, 3 Apr 2024 13:50:13 +0000 [thread overview]
Message-ID: <PH0PR12MB8800D8A7EA2C4D8338482C6AA43D2@PH0PR12MB8800.namprd12.prod.outlook.com> (raw)
In-Reply-To: <40040364d17a265bd46679864c990c87ff654122.camel@debian.org>
> -----Original Message-----
> From: Luca Boccassi <bluca@debian.org>
> Sent: Wednesday, April 3, 2024 13:16
> To: Dariusz Sosnowski <dsosnowski@nvidia.com>; Matan Azrad
> <matan@nvidia.com>; Slava Ovsiienko <viacheslavo@nvidia.com>; Suanming
> Mou <suanmingm@nvidia.com>
> Cc: stable@dpdk.org; Ori Kam <orika@nvidia.com>
> Subject: Re: [PATCH 22.11] net/mlx5: fix async flow create error handling
>
> External email: Use caution opening links or attachments
>
>
> On Wed, 2024-04-03 at 10:38 +0200, Dariusz Sosnowski wrote:
> > [ upstream commit 5ecc8df4fad3411a53c20406f99b59dc736a6d1e ]
> >
> > Whenever processing of asynchronous flow rule create operation failed,
> > but after some dynamic flow actions had already been allocated, these
> > actions were not freed during error handling flow.
> > That behavior lead to leaks e.g., RSS/QUEUE action objects were leaked
> > which triggered assertions during device cleanup.
> >
> > This patch adds flow rule cleanup handling in case of an error during
> > async flow rule creation.
> >
> > Fixes: 3a2f674b6aa8 ("net/mlx5: add queue and RSS HW steering action")
> > Cc: stable@dpdk.org
> >
> > Signed-off-by: Dariusz Sosnowski <dsosnowski@nvidia.com>
> > Acked-by: Ori Kam <orika@nvidia.com>
> >
>
> This patch does not apply on stable/22.11, how was it tested?
The backports were tested today by applying on 22.11 branch on git@github.com:bluca/dpdk-stable.git
Could you please try applying mlx5 patches sent by me in the following order?
1. "net/mlx5: fix flow configure validation"
2. "net/mlx5: fix rollback on failed flow configure"
3. "net/mlx5: fix async flow create error handling"
There might be some conflicts between these patches, maybe that's the reason for failure. I'm sorry about not mentioning this.
I retested applying them on commit efe1d783f474, in that order and it applied correctly on my side.
Best regards,
Dariusz Sosnowski
next prev parent reply other threads:[~2024-04-03 13:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-03 8:38 Dariusz Sosnowski
2024-04-03 11:15 ` Luca Boccassi
2024-04-03 13:50 ` Dariusz Sosnowski [this message]
2024-04-03 15:34 ` Luca Boccassi
2024-04-03 18:09 ` Dariusz Sosnowski
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=PH0PR12MB8800D8A7EA2C4D8338482C6AA43D2@PH0PR12MB8800.namprd12.prod.outlook.com \
--to=dsosnowski@nvidia.com \
--cc=bluca@debian.org \
--cc=matan@nvidia.com \
--cc=orika@nvidia.com \
--cc=stable@dpdk.org \
--cc=suanmingm@nvidia.com \
--cc=viacheslavo@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).