From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tetsuya Mukawa Subject: Re: [PATCH 2/2] librte_pmd_null: Enable librte_pmd_null Date: Wed, 01 Oct 2014 10:39:29 +0900 Message-ID: <542B5B51.9010303@igel.co.jp> References: <1412070970-5625-1-git-send-email-mukawa@igel.co.jp> <1412070970-5625-3-git-send-email-mukawa@igel.co.jp> <20140930112353.GA2193@hmsreliant.think-freely.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: dev-VfR2kkLFssw@public.gmane.org, nakajima.yoshihiro-Zyj7fXuS5i5L9jVzuh4AOg@public.gmane.org, masutani.hitoshi-Zyj7fXuS5i5L9jVzuh4AOg@public.gmane.org To: Neil Horman Return-path: In-Reply-To: <20140930112353.GA2193-B26myB8xz7F8NnZeBjwnZQMhkBWG/bsMQH7oEaQurus@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" (2014/09/30 20:23), Neil Horman wrote: > On Tue, Sep 30, 2014 at 06:56:10PM +0900, mukawa-AlSX/UN32fvPDbFq/vQRIQ@public.gmane.org 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. Thanks, I will change above. Regards, Tetsuya > Neil > >> ifeq ($(CONFIG_RTE_BUILD_SHARED_LIB),n) >> # plugins (link only if static libraries) >> >> -- >> 1.9.1 >> >>