examples/load_balancer: fix build for less lcores
authorHemant Agrawal <hemant.agrawal@nxp.com>
Wed, 19 Jul 2017 08:19:35 +0000 (13:49 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 21 Jul 2017 14:36:20 +0000 (17:36 +0300)
commitaf35e12191f5817c38b37b0ea1142bcd19e30c74
treed1447dc264a00af8e9d239adcfded48cfb61d843
parent59bcf8084f8974ec2e52d90fd98f4a70c0eecd10
examples/load_balancer: fix build for less lcores

load_balancer app can also work for lower number of cores.
Limit the cores Worker and IO cores to 16 as defined in original
App. Otherwise use the actual number of lcores as MAX.

Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
examples/load_balancer/main.h