diff --git a/dpdkbuild/Makefile b/dpdkbuild/Makefile index bb91ac0c1..8dddb8074 100644 --- a/dpdkbuild/Makefile +++ b/dpdkbuild/Makefile @@ -41,24 +41,23 @@ CRYPTO_ENABLED=n DPDK_OPTS = DPDK_CFLAGS = -ifeq ($(CONFIG_CRYPTO),y) ifeq ($(TARGET_MACHINE),x86_64) +ifeq ($(CONFIG_CRYPTO),y) CRYPTO_ENABLED = y DPDK_OPTS += CONFIG_RTE_LIBRTE_PMD_AESNI_MB=y DPDK_CFLAGS += -I$(IPSEC_MB_DIR) DPDK_OPTS += CONFIG_RTE_LIBRTE_REORDER=y DPDK_OPTS += CONFIG_RTE_LIBRTE_PMD_QAT=y DPDK_OPTS += CONFIG_RTE_LIBRTE_PMD_QAT_SYM=y +endif ifeq ($(CONFIG_IGB_UIO_DRIVER),y) DPDK_OPTS += CONFIG_RTE_EAL_IGB_UIO=y else DPDK_OPTS += CONFIG_RTE_EAL_IGB_UIO=n endif endif -endif ifeq ($(CRYPTO_ENABLED),n) -DPDK_OPTS += CONFIG_RTE_EAL_IGB_UIO=n DPDK_OPTS += CONFIG_RTE_LIBRTE_PMD_AESNI_MB=n DPDK_OPTS += CONFIG_RTE_LIBRTE_REORDER=n DPDK_OPTS += CONFIG_RTE_LIBRTE_PMD_QAT=n