patch 'net/sfc: fix flow tunnel support detection' has been queued to stable release 21.11.1

Kevin Traynor ktraynor at redhat.com
Tue Mar 1 11:42:14 CET 2022


Hi,

FYI, your patch has been queued to stable release 21.11.1

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/06/22. 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/kevintraynor/dpdk-stable

This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable/commit/ea21c6bf4ee80c65f0afabfa94cbd2087782abc2

Thanks.

Kevin

---
>From ea21c6bf4ee80c65f0afabfa94cbd2087782abc2 Mon Sep 17 00:00:00 2001
From: Ivan Malov <ivan.malov at oktetlabs.ru>
Date: Fri, 18 Feb 2022 01:25:09 +0300
Subject: [PATCH] net/sfc: fix flow tunnel support detection

[ upstream commit de32ec32d720ca3070a48a24da1a18eb315003fe ]

The condition for that must use the new MAE admin status.

Fixes: 2f577f0ea1a3 ("net/sfc: allow ports without MAE privilege")

Signed-off-by: Ivan Malov <ivan.malov at oktetlabs.ru>
Reviewed-by: Andrew Rybchenko <andrew.rybchenko at oktetlabs.ru>
Reviewed-by: Andy Moreton <amoreton at xilinx.com>
---
 drivers/net/sfc/sfc_flow_tunnel.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/sfc/sfc_flow_tunnel.c b/drivers/net/sfc/sfc_flow_tunnel.c
index 463b01c596..e9eca90012 100644
--- a/drivers/net/sfc/sfc_flow_tunnel.c
+++ b/drivers/net/sfc/sfc_flow_tunnel.c
@@ -22,5 +22,5 @@ sfc_flow_tunnel_is_supported(struct sfc_adapter *sa)
 
 	return ((sa->priv.dp_rx->features & SFC_DP_RX_FEAT_FLOW_MARK) != 0 &&
-		sa->mae.status == SFC_MAE_STATUS_SUPPORTED);
+		sa->mae.status == SFC_MAE_STATUS_ADMIN);
 }
 
-- 
2.34.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2022-03-01 10:41:02.981335532 +0000
+++ 0058-net-sfc-fix-flow-tunnel-support-detection.patch	2022-03-01 10:41:01.344244106 +0000
@@ -1 +1 @@
-From de32ec32d720ca3070a48a24da1a18eb315003fe Mon Sep 17 00:00:00 2001
+From ea21c6bf4ee80c65f0afabfa94cbd2087782abc2 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit de32ec32d720ca3070a48a24da1a18eb315003fe ]
+
@@ -9 +10,0 @@
-Cc: stable at dpdk.org



More information about the stable mailing list