patches for DPDK stable branches
 help / color / mirror / Atom feed
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 18:09:00 +0000	[thread overview]
Message-ID: <PH0PR12MB8800FEED06C77F4C92E0AB81A43D2@PH0PR12MB8800.namprd12.prod.outlook.com> (raw)
In-Reply-To: <CAMw=ZnS4Pmp5UzNKid6F-eQtxqiZM3dtY_kJdh+P4bpgDJ4dgw@mail.gmail.com>

> -----Original Message-----
> From: Luca Boccassi <bluca@debian.org>
> Sent: Wednesday, April 3, 2024 17:34
> To: Dariusz Sosnowski <dsosnowski@nvidia.com>
> Cc: 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
> 
> External email: Use caution opening links or attachments
> 
> 
> On Wed, 3 Apr 2024 at 14:50, Dariusz Sosnowski <dsosnowski@nvidia.com>
> wrote:
> >
> > > -----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.
> 
> Thanks, that works, my email client showed me the 3rd one as the first mail,
> so when downloading the mbox with all 3 it failed. Next time please use a
> series so that you know the order you meant is the one we see too.

Of course, will do. Thank you.

Best regards,
Dariusz Sosnowski

      reply	other threads:[~2024-04-03 18:09 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
2024-04-03 15:34     ` Luca Boccassi
2024-04-03 18:09       ` Dariusz Sosnowski [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=PH0PR12MB8800FEED06C77F4C92E0AB81A43D2@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).