From 53008067a753a2322874172e28473d9cd05badb1 Mon Sep 17 00:00:00 2001 From: Tomasz Zawadzki Date: Mon, 29 Nov 2021 15:47:00 +0100 Subject: [PATCH] dpdkbuild: fix name of crypto pmd for DPDK 21.11 crypto/aesni_mb is renamed to crypto/ipsec_mb, starting with DPDK 21.11. Patch below remedied most of the changes required: (089cbda8)autobuild: Adjusting crypto build for latest DPDK (21.11) Yet it missed changing the driver name when using submodule. Signed-off-by: Tomasz Zawadzki Change-Id: Iec23d35e2a64ddab975b394a23e72af1a11c7b6e Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/10453 Community-CI: Broadcom CI Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins Reviewed-by: Ben Walker Reviewed-by: Jim Harris Reviewed-by: Aleksey Marchuk --- dpdkbuild/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dpdkbuild/Makefile b/dpdkbuild/Makefile index 2468e00ba..3229f39ac 100644 --- a/dpdkbuild/Makefile +++ b/dpdkbuild/Makefile @@ -59,8 +59,9 @@ DPDK_DRIVERS += crypto/qat compress/qat common/qat endif ifeq ($(CONFIG_CRYPTO),y) -# crypto/qat is just a stub, the compress/qat pmd is used instead -DPDK_DRIVERS += crypto crypto/aesni_mb +DPDK_DRIVERS += crypto crypto/ipsec_mb +# aesni_mb is name of the PMD in DPDK 21.08 and earlier +DPDK_DRIVERS += crypto/aesni_mb DPDK_CFLAGS += -I$(IPSEC_MB_DIR) DPDK_LDFLAGS += -L$(IPSEC_MB_DIR) endif