patch 'net/mlx5: fix indirect list flow action callback invocation' has been queued to stable release 23.11.3

Xueming Li xuemingl at nvidia.com
Sat Dec 7 08:59:38 CET 2024


Hi,

FYI, your patch has been queued to stable release 23.11.3

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 12/10/24. So please
shout if anyone has objections.

Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.

Queued patches are on a temporary branch at:
https://git.dpdk.org/dpdk-stable/log/?h=23.11-staging

This queued commit can be viewed at:
https://git.dpdk.org/dpdk-stable/commit/?h=23.11-staging&id=933bc295be4f8cd04dbbbb204965fd999a50ef7b

Thanks.

Xueming Li <xuemingl at nvidia.com>

---
>From 933bc295be4f8cd04dbbbb204965fd999a50ef7b Mon Sep 17 00:00:00 2001
From: Gregory Etelson <getelson at nvidia.com>
Date: Mon, 28 Oct 2024 11:43:50 +0200
Subject: [PATCH] net/mlx5: fix indirect list flow action callback invocation
Cc: Xueming Li <xuemingl at nvidia.com>

[ upstream commit e53e4c39d2514667a7065cb0dd2d8fe3dcd843e3 ]

Fix indirect action list callback parameter.
The function must be called with a flow action to process - not with
actions list.

Fixes: e26f50adbf38 ("net/mlx5: support indirect list meter mark action")

Signed-off-by: Gregory Etelson <getelson at nvidia.com>
Acked-by: Ori Kam <orika at nvidia.com>
---
 drivers/net/mlx5/mlx5_flow_hw.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/mlx5/mlx5_flow_hw.c b/drivers/net/mlx5/mlx5_flow_hw.c
index 5c611b03b9..0eaf38537a 100644
--- a/drivers/net/mlx5/mlx5_flow_hw.c
+++ b/drivers/net/mlx5/mlx5_flow_hw.c
@@ -3033,7 +3033,7 @@ flow_hw_actions_construct(struct rte_eth_dev *dev,
 				    (int)action->type == act_data->type);
 		switch ((int)act_data->type) {
 		case RTE_FLOW_ACTION_TYPE_INDIRECT_LIST:
-			act_data->indirect_list_cb(dev, act_data, actions,
+			act_data->indirect_list_cb(dev, act_data, action,
 						   &rule_acts[act_data->action_dst]);
 			break;
 		case RTE_FLOW_ACTION_TYPE_INDIRECT:
--
2.34.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2024-12-06 23:26:44.819232718 +0800
+++ 0020-net-mlx5-fix-indirect-list-flow-action-callback-invo.patch	2024-12-06 23:26:43.903044828 +0800
@@ -1 +1 @@
-From e53e4c39d2514667a7065cb0dd2d8fe3dcd843e3 Mon Sep 17 00:00:00 2001
+From 933bc295be4f8cd04dbbbb204965fd999a50ef7b Mon Sep 17 00:00:00 2001
@@ -4,0 +5,3 @@
+Cc: Xueming Li <xuemingl at nvidia.com>
+
+[ upstream commit e53e4c39d2514667a7065cb0dd2d8fe3dcd843e3 ]
@@ -11 +13,0 @@
-Cc: stable at dpdk.org
@@ -20 +22 @@
-index 804b58db5c..c13b5dc65c 100644
+index 5c611b03b9..0eaf38537a 100644
@@ -23 +25 @@
-@@ -3552,7 +3552,7 @@ flow_hw_actions_construct(struct rte_eth_dev *dev,
+@@ -3033,7 +3033,7 @@ flow_hw_actions_construct(struct rte_eth_dev *dev,


More information about the stable mailing list