patch 'hash: fix RCU reclamation size' has been queued to stable release 23.11.2
Xueming Li
xuemingl at nvidia.com
Fri Jul 12 12:45:05 CEST 2024
Hi,
FYI, your patch has been queued to stable release 23.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 07/14/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=7c1ecb9fef003a1d5db7c9dc43eb3381a87ca119
Thanks.
Xueming Li <xuemingl at nvidia.com>
---
>From 7c1ecb9fef003a1d5db7c9dc43eb3381a87ca119 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Abdullah=20=C3=96mer=20Yama=C3=A7?= <aomeryamac at gmail.com>
Date: Mon, 13 May 2024 16:35:53 +0000
Subject: [PATCH] hash: fix RCU reclamation size
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Cc: Xueming Li <xuemingl at nvidia.com>
[ upstream commit d45a7eed07d6b024956d10af529fcdcdd798227f ]
Set the maximum reclamation size to user provided value.
Fixes: 769b2de7fb52 ("hash: implement RCU resources reclamation")
Signed-off-by: Abdullah Ömer Yamaç <aomeryamac at gmail.com>
Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli at arm.com>
---
.mailmap | 2 +-
lib/hash/rte_cuckoo_hash.c | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/.mailmap b/.mailmap
index ac2268a1d1..15c75499e5 100644
--- a/.mailmap
+++ b/.mailmap
@@ -2,7 +2,7 @@ Aakash Sasidharan <asasidharan at marvell.com>
Aaro Koskinen <aaro.koskinen at nsn.com>
Aaron Campbell <aaron at arbor.net>
Aaron Conole <aconole at redhat.com>
-Abdullah Ömer Yamaç <omer.yamac at ceng.metu.edu.tr>
+Abdullah Ömer Yamaç <omer.yamac at ceng.metu.edu.tr> <aomeryamac at gmail.com>
Abdullah Sevincer <abdullah.sevincer at intel.com>
Abed Kamaluddin <akamaluddin at marvell.com>
Abhijit Gangurde <abhijit.gangurde at amd.com>
diff --git a/lib/hash/rte_cuckoo_hash.c b/lib/hash/rte_cuckoo_hash.c
index 7871f6e090..258b6b7f2b 100644
--- a/lib/hash/rte_cuckoo_hash.c
+++ b/lib/hash/rte_cuckoo_hash.c
@@ -1551,6 +1551,7 @@ rte_hash_rcu_qsbr_add(struct rte_hash *h, struct rte_hash_rcu_config *cfg)
if (params.size == 0)
params.size = total_entries;
params.trigger_reclaim_limit = cfg->trigger_reclaim_limit;
+ params.max_reclaim_size = cfg->max_reclaim_size;
if (params.max_reclaim_size == 0)
params.max_reclaim_size = RTE_HASH_RCU_DQ_RECLAIM_MAX;
params.esize = sizeof(struct __rte_hash_rcu_dq_entry);
--
2.34.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2024-07-12 18:40:17.671873799 +0800
+++ 0079-hash-fix-RCU-reclamation-size.patch 2024-07-12 18:40:14.216594214 +0800
@@ -1 +1 @@
-From d45a7eed07d6b024956d10af529fcdcdd798227f Mon Sep 17 00:00:00 2001
+From 7c1ecb9fef003a1d5db7c9dc43eb3381a87ca119 Mon Sep 17 00:00:00 2001
@@ -7,0 +8,3 @@
+Cc: Xueming Li <xuemingl at nvidia.com>
+
+[ upstream commit d45a7eed07d6b024956d10af529fcdcdd798227f ]
@@ -12 +14,0 @@
-Cc: stable at dpdk.org
@@ -22 +24 @@
-index 3e73eec762..9013e15ea9 100644
+index ac2268a1d1..15c75499e5 100644
@@ -35 +37 @@
-index 16c9c4c5c4..265335f845 100644
+index 7871f6e090..258b6b7f2b 100644
@@ -38 +40 @@
-@@ -1558,6 +1558,7 @@ rte_hash_rcu_qsbr_add(struct rte_hash *h, struct rte_hash_rcu_config *cfg)
+@@ -1551,6 +1551,7 @@ rte_hash_rcu_qsbr_add(struct rte_hash *h, struct rte_hash_rcu_config *cfg)
More information about the stable
mailing list