numam-dpdk/test
Julien Meunier 4c3cd4c294 test/pmd_perf: fix the way to drain the port
If the port has received less than ``pkt_per_port`` packets (for
example, the port has missed some packets), the test is in an infinite
loop.

Instead of expecting a number of packet to receive, let the port to be
drained by itself. If no more packets are received, the test can
continue.

Fixes: 002ade70e9 ("app/test: measure cycles per packet in Rx/Tx")
Cc: stable@dpdk.org

Signed-off-by: Julien Meunier <julien.meunier@nokia.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
2019-02-22 14:39:49 +01:00
..
bpf mbuf: remove deprecated macro 2019-01-14 16:37:36 +01:00
cmdline_test test: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
test test/pmd_perf: fix the way to drain the port 2019-02-22 14:39:49 +01:00
test-acl test: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
test-pipeline ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
Makefile test: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
meson.build test: build app with meson as dpdk-test 2018-01-30 21:58:59 +01:00