env_dpdk: put rte_rcu on DPDK_LIB_LIST unconditionally
rte_rcu is available on all versions of DPDK supported by SPDK. It is also required by quite a few DPDK libraries. So just include it always, it's a small library so let's not try to over-complicate by trying to figure out exactly when it's needed. This change fixes linking issue when crypto enabled (and vhost not). Signed-off-by: Jacek Kalwas <jacek.kalwas@intel.com> Change-Id: Ibdd6acb5a25c401b462022bbd94bd380690640d0 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/17514 Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
This commit is contained in:
parent
88fbbb6bbc
commit
30d24bae73
@ -33,7 +33,7 @@ endif
|
|||||||
DPDK_INC := -I$(DPDK_INC_DIR)
|
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_eal rte_mempool rte_ring rte_mbuf rte_bus_pci rte_pci rte_mempool_ring
|
||||||
DPDK_LIB_LIST += rte_telemetry rte_kvargs
|
DPDK_LIB_LIST += rte_telemetry rte_kvargs rte_rcu
|
||||||
|
|
||||||
DPDK_POWER=n
|
DPDK_POWER=n
|
||||||
|
|
||||||
@ -116,9 +116,6 @@ endif
|
|||||||
|
|
||||||
ifeq ($(LINK_HASH),y)
|
ifeq ($(LINK_HASH),y)
|
||||||
DPDK_LIB_LIST += rte_hash
|
DPDK_LIB_LIST += rte_hash
|
||||||
ifneq (, $(wildcard $(DPDK_LIB_DIR)/librte_rcu.*))
|
|
||||||
DPDK_LIB_LIST += rte_rcu
|
|
||||||
endif
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user