[dpdk-stable] patch 'vhost: fix build dependency on hash lib' has been queued to LTS release 18.11.6

Kevin Traynor ktraynor at redhat.com
Wed Dec 11 22:26:03 CET 2019


Hi,

FYI, your patch has been queued to LTS release 18.11.6

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

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

Thanks.

Kevin.

---
>From a9d08364c645c4d3408e447e4a4aa9614b594f0b Mon Sep 17 00:00:00 2001
From: Jin Yu <jin.yu at intel.com>
Date: Wed, 30 Oct 2019 17:40:55 +0800
Subject: [PATCH] vhost: fix build dependency on hash lib

[ upstream commit 201e7482674551aeee27d0ff28e7bbd3fbfbbcf2 ]

Compile librte_vhost/vhost_crypto.c needs the rte_hash.h
So we need the librte_hash to be compiled before vhost.
Add the DEPDIRs to make sure this.

Bugzilla ID: 356
Fixes: 939066d96563 ("vhost/crypto: add public function implementation")

Signed-off-by: Jin Yu <jin.yu at intel.com>
Reviewed-by: Tiwei Bie <tiwei.bie at intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>
---
 lib/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Makefile b/lib/Makefile
index b7370ef97..ccb845f52 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -46,5 +46,5 @@ DEPDIRS-librte_rawdev := librte_eal librte_ethdev
 DIRS-$(CONFIG_RTE_LIBRTE_VHOST) += librte_vhost
 DEPDIRS-librte_vhost := librte_eal librte_mempool librte_mbuf librte_ethdev \
-			librte_net
+			librte_net librte_hash librte_cryptodev
 DIRS-$(CONFIG_RTE_LIBRTE_HASH) += librte_hash
 DEPDIRS-librte_hash := librte_eal librte_ring
-- 
2.21.0

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2019-12-11 21:24:13.646794194 +0000
+++ 0011-vhost-fix-build-dependency-on-hash-lib.patch	2019-12-11 21:24:12.590652809 +0000
@@ -1 +1 @@
-From 201e7482674551aeee27d0ff28e7bbd3fbfbbcf2 Mon Sep 17 00:00:00 2001
+From a9d08364c645c4d3408e447e4a4aa9614b594f0b Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 201e7482674551aeee27d0ff28e7bbd3fbfbbcf2 ]
+
@@ -12 +13,0 @@
-Cc: stable at dpdk.org
@@ -22 +23 @@
-index 1ff00ba8c..46b91ae1a 100644
+index b7370ef97..ccb845f52 100644
@@ -25 +26 @@
-@@ -47,5 +47,5 @@ DEPDIRS-librte_rawdev := librte_eal librte_ethdev
+@@ -46,5 +46,5 @@ DEPDIRS-librte_rawdev := librte_eal librte_ethdev



More information about the stable mailing list