From f961b3233321c319502e3b6ddc894d4d522ce2f1 Mon Sep 17 00:00:00 2001 From: Tomasz Zawadzki Date: Thu, 9 Jun 2022 11:14:46 +0200 Subject: [PATCH] env/dpdk: add rte_net dependency to vhost rte_net is a dependency for both rte_vhost and rte_power. Next patch will simplify the checks to include rte_power, and keeping this depenency next to component that directly depends on it will make it easier to understand. Since DPDK_LIB_LIST is sorted by the end of the env.mk, it shouldn't be a problem to include the rte_net twice. Signed-off-by: Tomasz Zawadzki Change-Id: If2bb2aa5d972148ca8143023657b0aec45306a08 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12991 Community-CI: Broadcom CI Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins Reviewed-by: Konrad Sztyber Reviewed-by: Jim Harris --- lib/env_dpdk/env.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/env_dpdk/env.mk b/lib/env_dpdk/env.mk index 2558743d9..ddf55f7d6 100644 --- a/lib/env_dpdk/env.mk +++ b/lib/env_dpdk/env.mk @@ -89,7 +89,7 @@ endif LINK_HASH=n ifeq ($(CONFIG_VHOST),y) -DPDK_LIB_LIST += rte_vhost +DPDK_LIB_LIST += rte_vhost rte_net ifneq (, $(wildcard $(DPDK_LIB_DIR)/librte_dmadev.*)) # Introduced in DPDK 21.11, and rte_vhost became dependent on # it shortly thereafter