From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f174.google.com (mail-wr0-f174.google.com [209.85.128.174]) by dpdk.org (Postfix) with ESMTP id 62F54325A for ; Tue, 20 Jun 2017 17:57:42 +0200 (CEST) Received: by mail-wr0-f174.google.com with SMTP id y25so57399662wrd.2 for ; Tue, 20 Jun 2017 08:57:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=uI/uVwjhHieLYNjgY7dniihQ4aQLwsLr7s3TwlZyDNk=; b=PoTPxxVxdWLYLzVtFulzbkFnlKWzQXwazF6XeU08wavdI8vlDcFu9GwkdeBpso0A9e TCuvM8RTZncrGQUhTlqiC93259Qd9C9Ee4I5MHejf/CVPnRRxk2OhvDR0S3cWRZsvfod /Y0+ypEX7imaXWK7R6ssieeuktrip9E32m7X6rUok9Hz8CamXbLEDrQmtBwbW/R5lDTi cpT4P2TNv161t2aWSs/jA0KWVkC1akibqEd2TQgYtgMZYmd6w3yWmbaSWGo6bFSNThq/ OU8TGpC7OreISX7juXTXjyHITg9dviPpcaKG7q8leXCzmq6ai9eLsy6OxWEce1ZWuDy+ ZKmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=uI/uVwjhHieLYNjgY7dniihQ4aQLwsLr7s3TwlZyDNk=; b=WjOmBTKaNMNrFQn5tYhZLK5JsI08ZCAjIdjQmMItVQ7wKd0bAEgn68lIrUMigaRHFK sT7qmFCd24lLl0ME9xJ7cqLA5WmPpIZHAykh1v0yGXPFzD5guyMD42BKd6hqRywlridb nR9GWYvPSNwEYhBFxdT0SoCvxMeLG9qDhgNLMU8b+/aWQy0Hg6BNIUgwBl0SDjevu4IN pPZD6/BJOAyjj/Ir+MaN00tq+vY022ccf3IbXPdPhhqe6DupvPRemJ5EoQOtpJo5vOCe oDvM6BMqlPG22k05WlzRnROAB0KNJAX2eWPLbd9mTriqIcA0bHMx5MsaRV+qrQvlREsx fxkw== X-Gm-Message-State: AKS2vOxK4lMACjzgKmoe0VdnReU2MG2AbieZa5CKXMiuwluRGv2X+/hQ zim/mIfbEE7YM99b X-Received: by 10.28.1.85 with SMTP id 82mr3299268wmb.88.1497974261767; Tue, 20 Jun 2017 08:57:41 -0700 (PDT) Received: from bidouze.vm.6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id 18sm11657460wmt.6.2017.06.20.08.57.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Jun 2017 08:57:41 -0700 (PDT) Date: Tue, 20 Jun 2017 17:57:33 +0200 From: =?iso-8859-1?Q?Ga=EBtan?= Rivet To: "terry.montague.1980@btinternet.com" Cc: users@dpdk.org Message-ID: <20170620155733.GK29091@bidouze.vm.6wind.com> References: <12471190.37650.1497970027948.JavaMail.defaultUser@defaultHost> <20170620145705.GI29091@bidouze.vm.6wind.com> <18287610.38744.1497970879233.JavaMail.defaultUser@defaultHost> <8604398.38970.1497971090851.JavaMail.defaultUser@defaultHost> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <8604398.38970.1497971090851.JavaMail.defaultUser@defaultHost> User-Agent: Mutt/1.5.23 (2014-03-12) 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 List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jun 2017 15:57:42 -0000 On Tue, Jun 20, 2017 at 04:04:50PM +0100, terry.montague.1980@btinternet.com wrote: > > > Hi Gaëtan, > > Its really only the net-i40e driver I need (for Intel XL710 cards). I'm not building DPDK itself as a shared library though. > Where are you getting your prebuilt rte_ libs? If you have the corresponding archive file, do you link rte_pmd_i40e? > 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 compiled in Eclipse. > > Hi, > > On Tue, Jun 20, 2017 at 03:47:07PM +0100, terry.montague.1980@btinternet.com 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 Eclipse 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 some suitable arguments that I know to be good in a simple standalone application, the PMDs appear to be absent, so the app cannot probe any PCI devices. > > 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. > > -- > Gaëtan Rivet > 6WIND > > -- Gaëtan Rivet 6WIND