examples/service_cores: check cores before run
authorVipin Varghese <vipin.varghese@intel.com>
Fri, 12 Oct 2018 13:14:03 +0000 (18:44 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 29 Oct 2018 02:05:15 +0000 (03:05 +0100)
commit7f6ee6aee717e4ee5ca1d3f06af5a14f897b2168
tree3e31c25d75533c796f4e818a00beb51b175c1953
parent23021f1c6bb8a5e35cf92dfe91ca9ce171b06997
examples/service_cores: check cores before run

The service core samples has varied profiles created to run on specified
lcore count. The patch adds the check before each run, to ensure
example has sufficent lcores to be added as service cores on given run
profile. If sufficent cores are not found, the run is skipped with user
notification.

Signed-off-by: Vipin Varghese <vipin.varghese@intel.com>
Acked-by: Harry van Haaren <harry.van.haaren@intel.com>
examples/service_cores/main.c