numam-dpdk/app/test-eventdev
Jerin Jacob 04716352be app/testeventdev: fix divide by zero in stats
pkts == 0 will result in divide by zero case.
Added a check to fix it.

Coverity issue: 158652
Fixes: 9d3aeb185e ("app/testeventdev: launch perf lcores")
Cc: stable@dpdk.org

Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
Acked-by: Harry van Haaren <harry.van.haaren@intel.com>
2017-07-31 22:43:48 +02:00
..
evt_common.h update Cavium Inc copyright headers 2017-07-08 17:43:49 +02:00
evt_main.c update Cavium Inc copyright headers 2017-07-08 17:43:49 +02:00
evt_options.c app/testeventdev: fix string overflow in parsing 2017-07-31 22:43:39 +02:00
evt_options.h update Cavium Inc copyright headers 2017-07-08 17:43:49 +02:00
evt_test.c update Cavium Inc copyright headers 2017-07-08 17:43:49 +02:00
evt_test.h update Cavium Inc copyright headers 2017-07-08 17:43:49 +02:00
Makefile update Cavium Inc copyright headers 2017-07-08 17:43:49 +02:00
parser.c update Cavium Inc copyright headers 2017-07-08 17:43:49 +02:00
parser.h app/testeventdev: add string parsing helpers 2017-07-07 09:31:19 +02:00
test_order_atq.c update Cavium Inc copyright headers 2017-07-08 17:43:49 +02:00
test_order_common.c update Cavium Inc copyright headers 2017-07-08 17:43:49 +02:00
test_order_common.h update Cavium Inc copyright headers 2017-07-08 17:43:49 +02:00
test_order_queue.c update Cavium Inc copyright headers 2017-07-08 17:43:49 +02:00
test_perf_atq.c update Cavium Inc copyright headers 2017-07-08 17:43:49 +02:00
test_perf_common.c app/testeventdev: fix divide by zero in stats 2017-07-31 22:43:48 +02:00
test_perf_common.h update Cavium Inc copyright headers 2017-07-08 17:43:49 +02:00
test_perf_queue.c update Cavium Inc copyright headers 2017-07-08 17:43:49 +02:00