[dpdk-stable] patch 'ipsec: fix build dependency on hash lib' has been queued to stable release 19.11.3

luca.boccassi at gmail.com luca.boccassi at gmail.com
Tue May 19 14:54:19 CEST 2020


Hi,

FYI, your patch has been queued to stable release 19.11.3

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 05/21/20. 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.

Thanks.

Luca Boccassi

---
>From bd5e2ef80afa52aea5b27cb3cdbdaba0ed03c1ea Mon Sep 17 00:00:00 2001
From: Akhil Goyal <akhil.goyal at nxp.com>
Date: Thu, 16 Apr 2020 16:55:17 +0530
Subject: [PATCH] ipsec: fix build dependency on hash lib

[ upstream commit 53c83e42cd89ac41f5d5870838b034b53887a3cb ]

rte_ipsec has a dependency on rte_hash
So we need the librte_hash to be compiled before librte_ipsec.
Add the DEPDIRs to make sure this.

Fixes: 3feb23609cae ("ipsec: add SAD create/destroy implementation")

Reported-by: Raslan Darawsheh <rasland at mellanox.com>
Suggested-by: Ferruh Yigit <ferruh.yigit at intel.com>
Signed-off-by: Akhil Goyal <akhil.goyal at nxp.com>
---
 lib/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Makefile b/lib/Makefile
index 46b91ae1a4..2cbb096f12 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -113,7 +113,7 @@ DIRS-$(CONFIG_RTE_LIBRTE_BPF) += librte_bpf
 DEPDIRS-librte_bpf := librte_eal librte_mempool librte_mbuf librte_ethdev
 DIRS-$(CONFIG_RTE_LIBRTE_IPSEC) += librte_ipsec
 DEPDIRS-librte_ipsec := librte_eal librte_mbuf librte_cryptodev librte_security \
-			librte_net
+			librte_net librte_hash
 DIRS-$(CONFIG_RTE_LIBRTE_TELEMETRY) += librte_telemetry
 DEPDIRS-librte_telemetry := librte_eal librte_metrics librte_ethdev
 DIRS-$(CONFIG_RTE_LIBRTE_RCU) += librte_rcu
-- 
2.20.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2020-05-19 13:56:21.621359261 +0100
+++ 0069-ipsec-fix-build-dependency-on-hash-lib.patch	2020-05-19 13:56:18.299503260 +0100
@@ -1,14 +1,15 @@
-From 53c83e42cd89ac41f5d5870838b034b53887a3cb Mon Sep 17 00:00:00 2001
+From bd5e2ef80afa52aea5b27cb3cdbdaba0ed03c1ea Mon Sep 17 00:00:00 2001
 From: Akhil Goyal <akhil.goyal at nxp.com>
 Date: Thu, 16 Apr 2020 16:55:17 +0530
 Subject: [PATCH] ipsec: fix build dependency on hash lib
 
+[ upstream commit 53c83e42cd89ac41f5d5870838b034b53887a3cb ]
+
 rte_ipsec has a dependency on rte_hash
 So we need the librte_hash to be compiled before librte_ipsec.
 Add the DEPDIRs to make sure this.
 
 Fixes: 3feb23609cae ("ipsec: add SAD create/destroy implementation")
-Cc: stable at dpdk.org
 
 Reported-by: Raslan Darawsheh <rasland at mellanox.com>
 Suggested-by: Ferruh Yigit <ferruh.yigit at intel.com>


More information about the stable mailing list