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. Best Regards Terry ----Original message---- >From : [email protected] Date : 20/06/17 - 15:57 (BST) To : [email protected] Cc : [email protected] 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, [email protected] 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
