patch 'net/mlx5: fix LACP packet handling in isolated mode' has been queued to stable release 22.11.8
luca.boccassi at gmail.com
luca.boccassi at gmail.com
Wed Mar 19 15:21:16 CET 2025
Hi,
FYI, your patch has been queued to stable release 22.11.8
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 03/21/25. 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://github.com/bluca/dpdk-stable
This queued commit can be viewed at:
https://github.com/bluca/dpdk-stable/commit/5a26748fd0eadd72670fdbb8d02d274f54ee6351
Thanks.
Luca Boccassi
---
>From 5a26748fd0eadd72670fdbb8d02d274f54ee6351 Mon Sep 17 00:00:00 2001
From: Maayan Kashani <mkashani at nvidia.com>
Date: Thu, 27 Feb 2025 12:20:44 +0200
Subject: [PATCH] net/mlx5: fix LACP packet handling in isolated mode
[ upstream commit d15d74fc4b22cf7f09194f7d4de8d8ee03ca63a6 ]
Fix an issue with handling LACP packets when the device is operating
in isolated mode. The problem was caused by an incorrectly positioned
isolated mode check, which led to improper processing of these packets.
This ensures that LACP packets are handled correctly in compliance
with the expected behavior.
Fixes: 87e4384d2662 ("net/mlx5: fix condition of LACP miss flow")
Signed-off-by: Maayan Kashani <mkashani at nvidia.com>
Acked-by: Dariusz Sosnowski <dsosnowski at nvidia.com>
---
drivers/net/mlx5/mlx5_trigger.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/mlx5/mlx5_trigger.c b/drivers/net/mlx5/mlx5_trigger.c
index 13152d488e..786e638f95 100644
--- a/drivers/net/mlx5/mlx5_trigger.c
+++ b/drivers/net/mlx5/mlx5_trigger.c
@@ -1524,11 +1524,11 @@ mlx5_traffic_enable_hws(struct rte_eth_dev *dev)
} else {
DRV_LOG(INFO, "port %u FDB default rule is disabled", dev->data->port_id);
}
- if (priv->isolated)
- return 0;
if (!priv->sh->config.lacp_by_user && priv->pf_bond >= 0 && priv->master)
if (mlx5_flow_hw_lacp_rx_flow(dev))
goto error;
+ if (priv->isolated)
+ return 0;
if (dev->data->promiscuous)
flags |= MLX5_CTRL_PROMISCUOUS;
if (dev->data->all_multicast)
--
2.47.2
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2025-03-19 14:20:57.262899946 +0000
+++ 0005-net-mlx5-fix-LACP-packet-handling-in-isolated-mode.patch 2025-03-19 14:20:57.057288838 +0000
@@ -1 +1 @@
-From d15d74fc4b22cf7f09194f7d4de8d8ee03ca63a6 Mon Sep 17 00:00:00 2001
+From 5a26748fd0eadd72670fdbb8d02d274f54ee6351 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit d15d74fc4b22cf7f09194f7d4de8d8ee03ca63a6 ]
+
@@ -14 +15,0 @@
-Cc: stable at dpdk.org
@@ -23 +24 @@
-index 79b3d4d982..4ee44e9165 100644
+index 13152d488e..786e638f95 100644
@@ -26 +27 @@
-@@ -1533,11 +1533,11 @@ mlx5_traffic_enable_hws(struct rte_eth_dev *dev)
+@@ -1524,11 +1524,11 @@ mlx5_traffic_enable_hws(struct rte_eth_dev *dev)
More information about the stable
mailing list