DPDK patches and discussions
 help / color / mirror / Atom feed
From: Michal Krawczyk <mk@semihalf.com>
To: Thomas Monjalon <thomas@monjalon.net>
Cc: dev@dpdk.org, matua@amazon.com, gtzalik@amazon.com,
	mw@semihalf.com, Michal Krawczyk <mk@semihalf.com>
Subject: [dpdk-dev] [PATCH v1 09/24] mk: link librte_timer with --whole-archive
Date: Wed,  9 May 2018 14:47:05 +0200	[thread overview]
Message-ID: <20180509124705.23229-1-mk@semihalf.com> (raw)

ENA PMD is only PMD which is using librte_timer. In linking routine
rte_timer is linked before PMDs, so if timers are not being used by the
applications, they are just cut out.

Signed-off-by: Michal Krawczyk <mk@semihalf.com>
---
 mk/rte.app.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/mk/rte.app.mk b/mk/rte.app.mk
index 26f35630a..9dd3dd5af 100644
--- a/mk/rte.app.mk
+++ b/mk/rte.app.mk
@@ -84,6 +84,7 @@ _LDLIBS-$(CONFIG_RTE_LIBRTE_EFD)            += -lrte_efd

 _LDLIBS-y += --whole-archive

+_LDLIBS-$(CONFIG_RTE_LIBRTE_TIMER)          += -lrte_timer
 _LDLIBS-$(CONFIG_RTE_LIBRTE_CFGFILE)        += -lrte_cfgfile
 _LDLIBS-$(CONFIG_RTE_LIBRTE_HASH)           += -lrte_hash
 _LDLIBS-$(CONFIG_RTE_LIBRTE_MEMBER)         += -lrte_member
--
2.14.1

                 reply	other threads:[~2018-05-09 12:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180509124705.23229-1-mk@semihalf.com \
    --to=mk@semihalf.com \
    --cc=dev@dpdk.org \
    --cc=gtzalik@amazon.com \
    --cc=matua@amazon.com \
    --cc=mw@semihalf.com \
    --cc=thomas@monjalon.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).