[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250924161727.GM836419@horms.kernel.org>
Date: Wed, 24 Sep 2025 17:17:27 +0100
From: Simon Horman <horms@...nel.org>
To: Tariq Toukan <tariqt@...dia.com>
Cc: Eric Dumazet <edumazet@...gle.com>, Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>,
Andrew Lunn <andrew+netdev@...n.ch>,
"David S. Miller" <davem@...emloft.net>,
Saeed Mahameed <saeedm@...dia.com>,
Leon Romanovsky <leon@...nel.org>, Mark Bloch <mbloch@...dia.com>,
netdev@...r.kernel.org, linux-rdma@...r.kernel.org,
linux-kernel@...r.kernel.org, Gal Pressman <gal@...dia.com>,
Moshe Shemesh <moshe@...dia.com>, Vlad Dogaru <vdogaru@...dia.com>,
Yevgeny Kliteynik <kliteyn@...dia.com>
Subject: Re: [PATCH net-next 1/7] net/mlx5: HWS, Generalize complex matchers
On Mon, Sep 22, 2025 at 12:01:05PM +0300, Tariq Toukan wrote:
> From: Vlad Dogaru <vdogaru@...dia.com>
...
> +static int hws_complex_subrule_create(struct mlx5hws_bwc_matcher *cmatcher,
> + struct mlx5hws_bwc_rule *subrule,
> + u32 *match_params, u32 flow_source,
> + int bwc_queue_idx, int subm_idx,
> + struct mlx5hws_rule_action *actions,
> + u32 *chain_id)
> {
...
> + ret = mlx5hws_bwc_rule_create_simple(subrule, match_params, actions,
> + flow_source, bwc_queue_idx);
> + if (ret) {
> + goto put_subrule_data;
> + goto unlock;
Hi Tariq and Vlad,
I guess it's a simple editing artifact.
But it seems that the line above is dead code.
Flagged by Smatch.
> }
...
Powered by blists - more mailing lists