From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from rgout05.bt.lon5.cpcloud.co.uk (rgout0507.bt.lon5.cpcloud.co.uk [65.20.0.228]) by dpdk.org (Postfix) with ESMTP id 245E2325A for ; Tue, 20 Jun 2017 17:04:51 +0200 (CEST) X-OWM-Source-IP: 10.110.12.1 () X-OWM-Env-Sender: terry.montague.1980@btinternet.com X-Junkmail-Premium-Raw: score=8/50, refid=2.7.2:2017.5.11.134516:17:8.707, ip=, rules=NO_URI_FOUND, NO_CTA_URI_FOUND, NO_MESSAGE_ID, NO_URI_HTTPS, TO_MALFORMED Received: from webmail26.bt.ext.cpcloud.co.uk (10.110.12.1) by rgout05.bt.lon5.cpcloud.co.uk (9.0.019.13-1) (authenticated as terry.montague.1980@btinternet.com) id 58482E5914504908 for users@dpdk.org; Tue, 20 Jun 2017 16:04:50 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btinternet.com; s=btcpcloud; t=1497971091; bh=jNynzCtKtq4ACACa+uHBV7GfPTGvnosuQMb+wsuYCDo=; h=Date:From:Reply-To:To:Message-ID:In-Reply-To:References:Subject:MIME-Version; b=AsIz4GsFX98sbsT4pJfkbyUTkVL2eVeAvK9XUeJBNZxEjdb5O7f6rdZDJ3F8n4VOhD+wX9UjHBRMNF6fyseI9sLJAj7Nyzzgmf7VuY+ZT5Z6QWL7IcwmmpnafTNtyeMpDBsoAfJbtCM+CUHzDeXWq5CNYQN2VPrNmODx2qqCBZU= Date: Tue, 20 Jun 2017 16:04:50 +0100 (BST) From: "terry.montague.1980@btinternet.com" To: users@dpdk.org Message-ID: <8604398.38970.1497971090851.JavaMail.defaultUser@defaultHost> In-Reply-To: <18287610.38744.1497970879233.JavaMail.defaultUser@defaultHost> References: <12471190.37650.1497970027948.JavaMail.defaultUser@defaultHost> <20170620145705.GI29091@bidouze.vm.6wind.com> <18287610.38744.1497970879233.JavaMail.defaultUser@defaultHost> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-CP-FORWARD-INLINE-UID: 3 X-CP-FORWARD-INLINE-PATH: Sent Importance: 3 (Normal) X-Priority: 3 (Normal) X-Client-IP: IPv4[86.138.183.88] Epoch[1497971090818] Subject: Re: [dpdk-users] Using DPDK with a pre-existing C++ application compiled in Eclipse. X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: terry.montague.1980@btinternet.com List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jun 2017 15:04:51 -0000 Hi Ga=C3=ABtan, Its really only the net-i40e driver I need (for Intel XL710 cards). I'm not= building DPDK itself as a shared library though. Best Regards Terry ----Original message---- >>From : gaetan.rivet@6wind.com Date : 20/06/17 - 15:57 (BST) To : terry.montague.1980@btinternet.com Cc : users@dpdk.org Subject : Re: [dpdk-users] Using DPDK with a pre-existing C++ application c= ompiled in Eclipse. Hi, On Tue, Jun 20, 2017 at 03:47:07PM +0100, terry.montague.1980@btinternet.co= m wrote: > Hi there, > Please excuse what to some may appear to be an stupid question. > I'm trying to use DPDK with an existing C++ application on Linux, using E= clipse Neon.2 as the IDE due to the use of a lot of 3rd party libraries. I'= m not using the DPDK build process with the .mk makefiles. I'm just linking= to the prebuilt rte_ libs. > I have got the project to compile, but when running rte_eal_init() with s= ome suitable arguments that I know to be good in a simple standalone applic= ation, the PMDs appear to be absent, so the app cannot probe any PCI device= s. > Is there any way this approach is going to work, or do applications that = use DPDK have to be compiled as per the example applications with rte.vars.= mk/rte.extapp.mk ? > Thanks in advance. > Terry Which NIC are you using? Which PMD do you need? You can dynamically link specific DPDK drivers using -d in the EAL parameters. Note that using PMDs as dynamic libraries may slightly impair performances. --=20 Ga=C3=ABtan Rivet 6WIND