Re: [dpdk-dev] [PATCH] example: add new service cores sample application

2017-10-19 Thread Van Haaren, Harry
> From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Friday, October 13, 2017 11:24 PM > To: Van Haaren, Harry > Cc: dev@dpdk.org; Mcnamara, John > Subject: Re: [dpdk-dev] [PATCH] example: add new service cores sample > application > > 14/10/2017 00:20, Thomas

Re: [dpdk-dev] [PATCH] example: add new service cores sample application

2017-10-19 Thread Van Haaren, Harry
> From: Eads, Gage > Sent: Monday, September 25, 2017 5:32 PM > To: Van Haaren, Harry > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH] example: add new service cores sample > application > > Neat example. Looks good overall, I just have a few qu

Re: [dpdk-dev] [PATCH] example: add new service cores sample application

2017-10-13 Thread Thomas Monjalon
14/10/2017 00:20, Thomas Monjalon: > 25/09/2017 15:23, Harry van Haaren: > > This commit adds a new sample app, which showcases the value > > of running services. In particular it allows the application > > to dynamically schedule services to service-cores. > > > > The sample app itself registers

Re: [dpdk-dev] [PATCH] example: add new service cores sample application

2017-10-13 Thread Thomas Monjalon
25/09/2017 15:23, Harry van Haaren: > This commit adds a new sample app, which showcases the value > of running services. In particular it allows the application > to dynamically schedule services to service-cores. > > The sample app itself registers a number of dummy services, > and applies diffe

Re: [dpdk-dev] [PATCH] example: add new service cores sample application

2017-09-25 Thread Eads, Gage
Neat example. Looks good overall, I just have a few questions. > +#define PROFILE_SERVICE_PER_CORE 8 Any reason not to use 5 here? That would remove a few zeroes from the profiles[] initializers. > +static int > +apply_profile(int profile_id) > +{ > + uint32_t i; > + uint32_t

[dpdk-dev] [PATCH] example: add new service cores sample application

2017-09-25 Thread Harry van Haaren
This commit adds a new sample app, which showcases the value of running services. In particular it allows the application to dynamically schedule services to service-cores. The sample app itself registers a number of dummy services, and applies different profiles to them at runtime. Note that this