> From: Jerin Jacob [mailto:jerin.ja...@caviumnetworks.com] > Sent: Tuesday, July 4, 2017 12:36 PM > To: Van Haaren, Harry <harry.van.haa...@intel.com> > Cc: dev@dpdk.org; tho...@monjalon.net; Wiles, Keith <keith.wi...@intel.com>; > Richardson, > Bruce <bruce.richard...@intel.com> > Subject: Re: [PATCH v3 2/7] service cores: EAL init changes > > -----Original Message----- > > Date: Sun, 2 Jul 2017 22:35:09 +0100 > > From: Harry van Haaren <harry.van.haa...@intel.com> > > To: dev@dpdk.org > > CC: jerin.ja...@caviumnetworks.com, tho...@monjalon.net, > > keith.wi...@intel.com, bruce.richard...@intel.com, Harry van Haaren > > <harry.van.haa...@intel.com> > > Subject: [PATCH v3 2/7] service cores: EAL init changes > > X-Mailer: git-send-email 2.7.4 > > > > This commit shows the changes required in rte_eal_init() > > to transparently launch the service threads. The threads > > are launched into the service worker functions here because > > after rte_eal_init() the application is not gauranteed to > > call any other DPDK API. > > > > As the registration of services happens at initialization > > time, the services that require CPU time are already available > > when we reach the end of rte_eal_init(). > > > > Signed-off-by: Harry van Haaren <harry.van.haa...@intel.com> > > > > ---
<snip> > > diff --git a/lib/librte_eal/linuxapp/eal/eal.c > > b/lib/librte_eal/linuxapp/eal/eal.c > > index 7c78f2d..d63dd87 100644 > > --- a/lib/librte_eal/linuxapp/eal/eal.c > > +++ b/lib/librte_eal/linuxapp/eal/eal.c > > @@ -78,6 +78,7 @@ > > #include <rte_version.h> > > #include <rte_atomic.h> > > #include <malloc_heap.h> > > +#include <rte_service_private.h> > > Not included this header file for bsdapp compilation. It should fail to > compile. Right? Fixed.