examples/ip_pipeline: fix cpu cores parsing
authorMaciej Gajdzica <maciejx.t.gajdzica@intel.com>
Tue, 21 Jul 2015 14:39:00 +0000 (16:39 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 27 Jul 2015 13:59:58 +0000 (15:59 +0200)
commit605a58f3ba2e71eaa6bab1e67c5f4e8e421ec4df
tree71575083dc6c4b2c21bb02db34c3b41ae9bb71de
parent48e967695ba78e6ca8f7b6c754251c240b0ee87f
examples/ip_pipeline: fix cpu cores parsing

This patch fixes parsing value of core variable in pipeline config.
Before not every combination of cores (c), sockets (s) and
hyperthreading (h) was parsed correctly.

Signed-off-by: Maciej Gajdzica <maciejx.t.gajdzica@intel.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
examples/ip_pipeline/config_parse.c