From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f171.google.com (mail-wr0-f171.google.com [209.85.128.171]) by dpdk.org (Postfix) with ESMTP id 963AA20F for ; Tue, 20 Jun 2017 16:57:15 +0200 (CEST) Received: by mail-wr0-f171.google.com with SMTP id y25so55187672wrd.2 for ; Tue, 20 Jun 2017 07:57:15 -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=pWDBBPC3tZXxuf9NFRhhvtJ7wNzxCmCtK0AoJ+LjyEc=; b=Mvbr1QsRs+Y/A+nbX4Mevdro1xErMg9Tj7xTIhlEDZqR3jY1D8xmVXFD/g0ib636cE wfG4M9JQmVg/sFwRe197snNX+nZViNjEe0F0T4VftazMZa9iG4k0X7s0aEG9XBSC/mYw SUAALCD6/UqvEfyvr9NO7tRsX0MYStJy4crZWgemzee/dFs7JHKcngQc2bVCL1yYHlmt //1k4l2RJJcTW0ObAWLCD+Gwo0p4NmcAfhYmgkisFcy1aiKcz7ZXSL6k7ZiBh5QRhRmh lhvbqpolJcFqcSzfMrJwbRZXS6EpsIiVjIrrk/VX7SMGZbGKdSITDnBb9jHbP/nzjn7y BHcw== 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=pWDBBPC3tZXxuf9NFRhhvtJ7wNzxCmCtK0AoJ+LjyEc=; b=uNRZga3jxCZIh3oR3hfebLTZVIDvFvHfsfW8+OnMVCTUuZcV0lQaMnRifK5VKjm3+o BOCVnWFdE0mK4Shsxy48LhrP+wYBO1axNYH5HCf8ds46RERHr6cHu4BB963IgjbqBpIO /Wts/RYToyEcD8U4Z/Lv8JzskSHlTtdyYWgwsdT9saUq1JApivEok20PMjnxCdDhXUe6 vE29gpvtjqz9QhoTxKPjeFDQO6E2N/V8rPhMjRMBqziYjqt0A1i7tNSMxsUkdNfOyLSu VmkJCpUNmT25p82/LUtVHPUr6NtuvoLq9VNxVGUpdsMGyTA5Djrf3Dijtlt3D1C/w4Cc 4rKw== X-Gm-Message-State: AKS2vOzBIs5dF0T+w9BZPkz4iRSD+83/WNCy2aP5UYKfJ9hvNtYB8zoL EDTeS0kzfHQNb0M4 X-Received: by 10.223.177.142 with SMTP id q14mr6835654wra.200.1497970634779; Tue, 20 Jun 2017 07:57:14 -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 u18sm10911084wrc.14.2017.06.20.07.57.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Jun 2017 07:57:13 -0700 (PDT) Date: Tue, 20 Jun 2017 16:57:05 +0200 From: =?iso-8859-1?Q?Ga=EBtan?= Rivet To: "terry.montague.1980@btinternet.com" Cc: users@dpdk.org Message-ID: <20170620145705.GI29091@bidouze.vm.6wind.com> References: <12471190.37650.1497970027948.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: <12471190.37650.1497970027948.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 14:57:15 -0000 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