From: Shreyansh Jain Date: Thu, 13 Apr 2017 09:02:07 +0000 (+0530) Subject: mk: link app with ring mempool by default X-Git-Tag: spdx-start~3637 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=c6b3570f9e143f4cb4892af3afefd65735838b2f;p=dpdk.git mk: link app with ring mempool by default From the discussion in [1], it was observed that application should have a default pool already linked even in case of shared builds. Ring is especially important because packet mbuf creation API refer to ring_mp_mc as default handler. Documentation for this is pending. [1] http://dpdk.org/ml/archives/dev/2017-April/063819.html Fixes: 9a8e9b57f544 ("mempool: move ring handler as a driver") Signed-off-by: Shreyansh Jain Acked-by: Olivier Matz --- diff --git a/mk/rte.app.mk b/mk/rte.app.mk index 4c659e9713..7f5e1258f4 100644 --- a/mk/rte.app.mk +++ b/mk/rte.app.mk @@ -93,6 +93,7 @@ _LDLIBS-$(CONFIG_RTE_LIBRTE_ETHER) += -lrte_ethdev _LDLIBS-$(CONFIG_RTE_LIBRTE_CRYPTODEV) += -lrte_cryptodev _LDLIBS-$(CONFIG_RTE_LIBRTE_EVENTDEV) += -lrte_eventdev _LDLIBS-$(CONFIG_RTE_LIBRTE_MEMPOOL) += -lrte_mempool +_LDLIBS-$(CONFIG_RTE_DRIVER_MEMPOOL_RING) += -lrte_mempool_ring _LDLIBS-$(CONFIG_RTE_LIBRTE_RING) += -lrte_ring _LDLIBS-$(CONFIG_RTE_LIBRTE_EAL) += -lrte_eal _LDLIBS-$(CONFIG_RTE_LIBRTE_CMDLINE) += -lrte_cmdline @@ -104,7 +105,7 @@ endif ifeq ($(CONFIG_RTE_BUILD_SHARED_LIB),n) # plugins (link only if static libraries) -_LDLIBS-$(CONFIG_RTE_DRIVER_MEMPOOL_RING) += -lrte_mempool_ring + _LDLIBS-$(CONFIG_RTE_DRIVER_MEMPOOL_STACK) += -lrte_mempool_stack _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_AF_PACKET) += -lrte_pmd_af_packet