From ff852667f84e368c3bf51fb3579c0a1f87d141db Mon Sep 17 00:00:00 2001 From: paul luse Date: Fri, 28 Sep 2018 12:58:08 -0400 Subject: [PATCH] crypto: Build QAT module when crypto is enabled Didn't enable this in initial patch, probably could have, but we need it for performance testing now and will need it to start getting the hardware into CI. Change-Id: I688cc94713146380933e5cddd7ed5b2d168c1fb2 Signed-off-by: paul luse Reviewed-on: https://review.gerrithub.io/427274 Chandler-Test-Pool: SPDK Automated Test System Tested-by: SPDK CI Jenkins Reviewed-by: Ben Walker Reviewed-by: Jim Harris --- dpdkbuild/Makefile | 2 +- lib/env_dpdk/env.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dpdkbuild/Makefile b/dpdkbuild/Makefile index fa3351703..dea01af39 100644 --- a/dpdkbuild/Makefile +++ b/dpdkbuild/Makefile @@ -49,7 +49,7 @@ CRYPTO_ENABLED = y DPDK_OPTS += CONFIG_RTE_LIBRTE_PMD_AESNI_MB=y DPDK_OPTS += CONFIG_RTE_LIBRTE_CRYPTODEV=y DPDK_OPTS += CONFIG_RTE_LIBRTE_REORDER=y -DPDK_OPTS += CONFIG_RTE_LIBRTE_PMD_QAT=n +DPDK_OPTS += CONFIG_RTE_LIBRTE_PMD_QAT=y endif endif endif diff --git a/lib/env_dpdk/env.mk b/lib/env_dpdk/env.mk index a9e2878ea..2a8310e36 100644 --- a/lib/env_dpdk/env.mk +++ b/lib/env_dpdk/env.mk @@ -79,7 +79,7 @@ DPDK_LIB_LIST += rte_bus_pci endif ifeq ($(CONFIG_CRYPTO),y) -DPDK_LIB_LIST += rte_cryptodev rte_reorder rte_bus_vdev rte_pmd_aesni_mb rte_mbuf +DPDK_LIB_LIST += rte_cryptodev rte_reorder rte_bus_vdev rte_pmd_aesni_mb rte_pmd_qat rte_mbuf endif ifneq (, $(wildcard $(DPDK_ABS_DIR)/lib/librte_kvargs.*))