DPDK patches and discussions
 help / color / mirror / Atom feed
From: Raslan Darawsheh <rasland@nvidia.com>
To: Junfeng Guo <junfengg@nvidia.com>, dev@dpdk.org
Cc: stable@dpdk.org, dsosnowski@nvidia.com, viacheslavo@nvidia.com,
	bingz@nvidia.com, orika@nvidia.com, suanmingm@nvidia.com,
	matan@nvidia.com
Subject: Re: [PATCH] net/mlx5: fix flag non-template rule cleanup
Date: Tue, 10 Jun 2025 16:19:30 +0300	[thread overview]
Message-ID: <ff5a85a7-eb13-4131-864a-114a87578248@nvidia.com> (raw)
In-Reply-To: <20250605100734.35936-1-junfengg@nvidia.com>

Hi,


On 05/06/2025 1:07 PM, Junfeng Guo wrote:
> Set the flag nt_rule to be FALSE whenever the flow rule is created
> through template API. This would ensure that this flow is always
> treated as template API flow after mlx5_ipool_malloc without being
> zeroing via memset.
> 
> Otherwise, some tables or template actions may be still in use for
> port init stage when attaching a port for template or non-template
> rule, in scenarios where the uninitialized memory nt_rule happens
> to contain a TRUE value.
> 
> Fixes: 2fda185a8c1c ("net/mlx5: reuse flow fields")
> Fixes: 63296851fadb ("net/mlx5: support flow rule update")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Junfeng Guo <junfengg@nvidia.com>
> Acked-by: Dariusz Sosnowski <dsosnowski@nvidia.com>

Patch applied to next-net-mlx,

Kindest regards
Raslan Darawsheh


      reply	other threads:[~2025-06-10 13:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-05 10:07 Junfeng Guo
2025-06-10 13:19 ` Raslan Darawsheh [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=ff5a85a7-eb13-4131-864a-114a87578248@nvidia.com \
    --to=rasland@nvidia.com \
    --cc=bingz@nvidia.com \
    --cc=dev@dpdk.org \
    --cc=dsosnowski@nvidia.com \
    --cc=junfengg@nvidia.com \
    --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).