diff --git a/lib/env_dpdk/env.mk b/lib/env_dpdk/env.mk index 369c7a5d50..4cbcd71414 100644 --- a/lib/env_dpdk/env.mk +++ b/lib/env_dpdk/env.mk @@ -61,16 +61,12 @@ endif DPDK_INC := -I$(DPDK_INC_DIR) DPDK_LIB_LIST = rte_eal rte_mempool rte_ring rte_mbuf rte_bus_pci rte_pci rte_mempool_ring +DPDK_LIB_LIST += rte_telemetry rte_kvargs ifeq ($(OS),Linux) DPDK_LIB_LIST += rte_power rte_ethdev rte_net endif -# DPDK 20.05 eal dependency -ifneq (, $(wildcard $(DPDK_LIB_DIR)/librte_telemetry.*)) -DPDK_LIB_LIST += rte_telemetry -endif - # There are some complex dependencies when using crypto, reduce or both so # here we add the feature specific ones and set a flag to add the common # ones after that. @@ -85,21 +81,13 @@ else ifneq (, $(wildcard $(DPDK_LIB_DIR)/librte_crypto_aesni_mb.*)) # PMD name for DPDK 21.08 and earlier DPDK_LIB_LIST += rte_crypto_aesni_mb -else -# PMD name for DPDK 20.08 and earlier -DPDK_LIB_LIST += rte_pmd_aesni_mb endif endif endif ifeq ($(CONFIG_REDUCE),y) DPDK_FRAMEWORK=y -ifneq (, $(wildcard $(DPDK_LIB_DIR)/librte_compress_isal.*)) DPDK_LIB_LIST += rte_compress_isal -else -# PMD name for DPDK 20.08 and earlier -DPDK_LIB_LIST += rte_pmd_isal -endif ifeq ($(CONFIG_REDUCE_MLX5),y) DPDK_LIB_LIST += rte_common_mlx5 rte_compress_mlx5 # Introduced in DPDK 21.08 @@ -111,16 +99,7 @@ endif ifeq ($(DPDK_FRAMEWORK),y) DPDK_LIB_LIST += rte_cryptodev rte_compressdev rte_bus_vdev -ifneq (, $(wildcard $(DPDK_LIB_DIR)/librte_common_qat.*)) DPDK_LIB_LIST += rte_common_qat -else -# PMD name for DPDK 20.08 and earlier -DPDK_LIB_LIST += rte_pmd_qat -endif -endif - -ifneq (, $(wildcard $(DPDK_LIB_DIR)/librte_kvargs.*)) -DPDK_LIB_LIST += rte_kvargs endif LINK_HASH=n