patch 'hash: remove some dead code' has been queued to stable release 23.11.1
Xueming Li
xuemingl at nvidia.com
Tue Mar 5 10:45:44 CET 2024
Hi,
FYI, your patch has been queued to stable release 23.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/31/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=dc0428a5e4734bc7fc73f2b8bf038813fd4b2e75
Thanks.
Xueming Li <xuemingl at nvidia.com>
---
>From dc0428a5e4734bc7fc73f2b8bf038813fd4b2e75 Mon Sep 17 00:00:00 2001
From: David Marchand <david.marchand at redhat.com>
Date: Tue, 21 Nov 2023 16:24:23 +0100
Subject: [PATCH] hash: remove some dead code
Cc: Xueming Li <xuemingl at nvidia.com>
[ upstream commit 25e3fe362b3ad7484750eb7134bfca8e3fab5703 ]
This macro is not used.
Fixes: 769b2de7fb52 ("hash: implement RCU resources reclamation")
Signed-off-by: David Marchand <david.marchand at redhat.com>
Reviewed-by: Stephen Hemminger <stephen at networkplumber.org>
Reviewed-by: Tyler Retzlaff <roretzla at linux.microsoft.com>
Reviewed-by: Ruifeng Wang <ruifeng.wang at arm.com>
---
lib/hash/rte_cuckoo_hash.h | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/lib/hash/rte_cuckoo_hash.h b/lib/hash/rte_cuckoo_hash.h
index f7afc4dd79..8ea793c66e 100644
--- a/lib/hash/rte_cuckoo_hash.h
+++ b/lib/hash/rte_cuckoo_hash.h
@@ -29,17 +29,6 @@
#define RETURN_IF_TRUE(cond, retval)
#endif
-#if defined(RTE_LIBRTE_HASH_DEBUG)
-#define ERR_IF_TRUE(cond, fmt, args...) do { \
- if (cond) { \
- RTE_LOG(ERR, HASH, fmt, ##args); \
- return; \
- } \
-} while (0)
-#else
-#define ERR_IF_TRUE(cond, fmt, args...)
-#endif
-
#include <rte_hash_crc.h>
#include <rte_jhash.h>
--
2.34.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2024-03-05 17:39:31.198667607 +0800
+++ 0003-hash-remove-some-dead-code.patch 2024-03-05 17:39:30.633566488 +0800
@@ -1 +1 @@
-From 25e3fe362b3ad7484750eb7134bfca8e3fab5703 Mon Sep 17 00:00:00 2001
+From dc0428a5e4734bc7fc73f2b8bf038813fd4b2e75 Mon Sep 17 00:00:00 2001
@@ -4,0 +5,3 @@
+Cc: Xueming Li <xuemingl at nvidia.com>
+
+[ upstream commit 25e3fe362b3ad7484750eb7134bfca8e3fab5703 ]
@@ -9 +11,0 @@
-Cc: stable at dpdk.org
More information about the stable
mailing list