patch 'net/ena: fix deadlock in RSS RETA update' has been queued to stable release 22.11.2

Xueming Li xuemingl at nvidia.com
Mon Feb 27 07:58:55 CET 2023


Hi,

FYI, your patch has been queued to stable release 22.11.2

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/01/23. 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=22.11-staging

This queued commit can be viewed at:
https://git.dpdk.org/dpdk-stable/commit/?h=22.11-staging&id=36ec039309e62ddc9b22bdb50a4f96929df5ee1e

Thanks.

Xueming Li <xuemingl at nvidia.com>

---
>From 36ec039309e62ddc9b22bdb50a4f96929df5ee1e Mon Sep 17 00:00:00 2001
From: David Marchand <david.marchand at redhat.com>
Date: Thu, 5 Jan 2023 14:57:33 +0100
Subject: [PATCH] net/ena: fix deadlock in RSS RETA update
Cc: Xueming Li <xuemingl at nvidia.com>

[ upstream commit 195e0f2497ad608a68b46b279e87b68adfd9fe23 ]

Add missing lock release in case of internal failure.

Fixes: e3595539e0e0 ("net/ena: proxy AQ calls to primary process")

Signed-off-by: David Marchand <david.marchand at redhat.com>
Acked-by: Fan Zhang <fanzhang.oss at gmail.com>
---
 drivers/net/ena/ena_rss.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/ena/ena_rss.c b/drivers/net/ena/ena_rss.c
index b682d01c20..d0ba9d5c0a 100644
--- a/drivers/net/ena/ena_rss.c
+++ b/drivers/net/ena/ena_rss.c
@@ -105,6 +105,7 @@ int ena_rss_reta_update(struct rte_eth_dev *dev,
 			if (unlikely(rc != 0)) {
 				PMD_DRV_LOG(ERR,
 					"Cannot fill indirection table\n");
+				rte_spinlock_unlock(&adapter->admin_lock);
 				return rc;
 			}
 		}
--
2.25.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2023-02-27 14:08:41.842114000 +0800
+++ 0028-net-ena-fix-deadlock-in-RSS-RETA-update.patch	2023-02-27 14:08:40.739237000 +0800
@@ -1 +1 @@
-From 195e0f2497ad608a68b46b279e87b68adfd9fe23 Mon Sep 17 00:00:00 2001
+From 36ec039309e62ddc9b22bdb50a4f96929df5ee1e Mon Sep 17 00:00:00 2001
@@ -4,0 +5,3 @@
+Cc: Xueming Li <xuemingl at nvidia.com>
+
+[ upstream commit 195e0f2497ad608a68b46b279e87b68adfd9fe23 ]
@@ -9 +11,0 @@
-Cc: stable at dpdk.org


More information about the stable mailing list