[PATCH 22.11] net/mlx5: fix Tx metadata pattern template mismatch
Shani Peretz
shperetz at nvidia.com
Thu Nov 20 19:46:44 CET 2025
> -----Original Message-----
> From: Luca Boccassi <luca.boccassi at gmail.com>
> Sent: Thursday, 20 November 2025 14:41
> To: Shani Peretz <shperetz at nvidia.com>
> Cc: stable at dpdk.org; Dariusz Sosnowski <dsosnowski at nvidia.com>; Slava
> Ovsiienko <viacheslavo at nvidia.com>; Bing Zhao <bingz at nvidia.com>; Ori Kam
> <orika at nvidia.com>; Suanming Mou <suanmingm at nvidia.com>; Matan Azrad
> <matan at nvidia.com>; Michael Baum <michaelba at nvidia.com>; NBU-Contact-
> Thomas Monjalon (EXTERNAL) <thomas at monjalon.net>
> Subject: Re: [PATCH 22.11] net/mlx5: fix Tx metadata pattern template
> mismatch
>
> External email: Use caution opening links or attachments
>
>
> On Thu, 20 Nov 2025 at 10:48, Shani Peretz <shperetz at nvidia.com> wrote:
> >
> > When representor matching is disabled with dv_xmeta_en=4, the Tx
> > metadata copy flows use SQ (send queue) pattern matching, but the
> > pattern template was still configured to use ETH match-all pattern.
> > This mismatch causes hardware to reject the flows with error CQEs during
> port configuration.
> >
> > This patch fixes the issue by using SQ-based pattern template
> > (flow_hw_create_tx_repr_sq_pattern_tmpl) instead of the ETH match-all
> > template (flow_hw_create_tx_default_mreg_copy_pattern_template).
> >
> > Fixes: 593fb3fdfa10 ("net/mlx5: fix multi process Tx default rules")
> >
> > Signed-off-by: Shani Peretz <shperetz at nvidia.com>
> > Acked-by: Dariusz Sosnowski <dsosnowski at nvidia.com>
> > ---
> > drivers/net/mlx5/mlx5_flow_hw.c | 42
> > +--------------------------------
> > 1 file changed, 1 insertion(+), 41 deletions(-)
>
> Hi, thanks for the patch, unfortunately this does not apply, neither on
> https://git.dpdk.org/dpdk-stable/log/?h=22.11 nor on
> https://github.com/bluca/dpdk-stable/tree/22.11
>
> How was this tested?
Hi Luca,
I'm sorry for this, I tested it on upstream so maybe they diverged.
anyway I sent v2. tested on top of https://github.com/bluca/dpdk-stable/tree/22.11
More information about the stable
mailing list