[dpdk-dev] [PATCH] test: fix crash in pmd_perf_test

2015-12-07 Thread Thomas Monjalon
2015-11-23 11:45, David Hunt: > Fix crash in pmd_perf_test autotest (div by 0) when no packets received > Also fixes the fact that the test passes even if exec_burst fails > > To repeat the issue: > The system must be incorrectly set up so that all packets will be lost, > i.e. no loopback cab

[dpdk-dev] [PATCH] test: fix crash in pmd_perf_test

2015-11-23 Thread David Hunt
Fix crash in pmd_perf_test autotest (div by 0) when no packets received Also fixes the fact that the test passes even if exec_burst fails To repeat the issue: The system must be incorrectly set up so that all packets will be lost, i.e. no loopback cable, etc. This is an edge case, but still t