Commit e9bfc110 authored by Changpeng Liu's avatar Changpeng Liu Committed by Daniel Verkamp
Browse files

env/dpdk: additional library required for DPDK 17.05 ring based mempool



Change-Id: I2ef4a330a5628c84657f516cb2e4fad609b6c6d8
Signed-off-by: default avatarChangpeng Liu <changpeng.liu@intel.com>
parent 8af7a3a4
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -63,6 +63,12 @@ endif

DPDK_LIB_LIST = rte_eal rte_mempool rte_ring

# librte_mempool_ring was new added from DPDK 17.05. Link this library used for
#   ring based mempool management API.
ifneq (, $(wildcard $(DPDK_ABS_DIR)/lib/librte_mempool_ring.*))
DPDK_LIB_LIST += rte_mempool_ring
endif

# librte_malloc was removed after DPDK 2.1.  Link this library conditionally based on its
#  existence to maintain backward compatibility.
ifneq ($(wildcard $(DPDK_ABS_DIR)/lib/librte_malloc.*),)