From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.tuxdriver.com (charlotte.tuxdriver.com [70.61.120.58]) by dpdk.org (Postfix) with ESMTP id 1A4081F7 for ; Tue, 30 Sep 2014 13:17:23 +0200 (CEST) Received: from hmsreliant.think-freely.org ([2001:470:8:a08:7aac:c0ff:fec2:933b] helo=localhost) by smtp.tuxdriver.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.63) (envelope-from ) id 1XYvX8-0004SC-TR; Tue, 30 Sep 2014 07:24:00 -0400 Date: Tue, 30 Sep 2014 07:23:53 -0400 From: Neil Horman To: mukawa@igel.co.jp Message-ID: <20140930112353.GA2193@hmsreliant.think-freely.org> References: <1412070970-5625-1-git-send-email-mukawa@igel.co.jp> <1412070970-5625-3-git-send-email-mukawa@igel.co.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1412070970-5625-3-git-send-email-mukawa@igel.co.jp> User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Score: -2.9 (--) X-Spam-Status: No Cc: dev@dpdk.org, nakajima.yoshihiro@lab.ntt.co.jp, masutani.hitoshi@lab.ntt.co.jp Subject: Re: [dpdk-dev] [PATCH 2/2] librte_pmd_null: Enable librte_pmd_null X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2014 11:17:23 -0000 On Tue, Sep 30, 2014 at 06:56:10PM +0900, mukawa@igel.co.jp wrote: > From: Tetsuya Mukawa > > Signed-off-by: Tetsuya Mukawa > --- > mk/rte.app.mk | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/mk/rte.app.mk b/mk/rte.app.mk > index 34dff2a..f059290 100644 > --- a/mk/rte.app.mk > +++ b/mk/rte.app.mk > @@ -179,6 +179,10 @@ LDLIBS += -lrte_pmd_xenvirt > LDLIBS += -lxenstore > endif > > +ifeq ($(CONFIG_RTE_LIBRTE_PMD_NULL),y) > +LDLIBS += -lrte_pmd_null > +endif > + You don't need to add this, as the pmd can be loaded dynamically via the dlopen call executed via the -d option on the test app command line. The only pmds that need explicit linking are those that offer additional API calls to an appilcation. Neil > ifeq ($(CONFIG_RTE_BUILD_SHARED_LIB),n) > # plugins (link only if static libraries) > > -- > 1.9.1 > >