numam-dpdk/examples/performance-thread
Honnappa Nagarahalli 4e3b2d4c76 examples/performance-thread: fix build with low core count
When the value of RTE_MAX_LCORE is small, it results in the
following compilation error.

../examples/performance-thread/l3fwd-thread/main.c:2338:34: error:
iteration 4 invokes undefined behavior
[-Werror=aggressive-loop-optimizations]

Fixes: d48415e1fe ("examples/performance-thread: add l3fwd-thread app")
Cc: stable@dpdk.org

Signed-off-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
Tested-by: Lukasz Wojciechowski <l.wojciechow@partner.samsung.com>
Reviewed-by: Lukasz Wojciechowski <l.wojciechow@partner.samsung.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
2020-10-30 15:45:59 +01:00
..
common examples/performance-thread: convert to pkg-config-based build 2020-09-07 23:51:56 +02:00
l3fwd-thread examples/performance-thread: fix build with low core count 2020-10-30 15:45:59 +01:00
pthread_shim eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
Makefile examples/performance-thread: convert to pkg-config-based build 2020-09-07 23:51:56 +02:00