dpdkbuild: build igb_uio independent of crypto
This driver has more generic use cases than just for the crypto driver. See github issues 594 and 210. Change-Id: I7adcb058418a9b56ffa150366584b22b38eb8398 Signed-off-by: Seth Howell <seth.howell@intel.com> Reviewed-on: https://review.gerrithub.io/c/444123 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
parent
c8bcedf4df
commit
c217d7287d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user