Re: [dpdk-dev] [PATCH v2 1/2] test/rcu: increase the size of num cores variable

2019-06-28 Thread David Marchand
On Fri, Jun 28, 2019 at 6:36 PM Honnappa Nagarahalli < honnappa.nagaraha...@arm.com> wrote: > num_cores is of type uint8_t. This results in the following > compilation error. > > test_rcu_qsbr_perf.c:649:16: error: comparison is always false > due to limited range of data type [-Werror=type-limits

[dpdk-dev] [PATCH v2 1/2] test/rcu: increase the size of num cores variable

2019-06-28 Thread Honnappa Nagarahalli
num_cores is of type uint8_t. This results in the following compilation error. test_rcu_qsbr_perf.c:649:16: error: comparison is always false due to limited range of data type [-Werror=type-limits] if (num_cores >= RTE_MAX_LCORE) { ^~ RTE_MAX_LCORE is set to 256 for armv8 config