numam-dpdk/app
Viacheslav Ovsiienko 7ca262b886 app/testpmd: fix port detach cleanup
At port detach routine after calling the rte_dev_remove()
testpmd performs some cleanup, checking the statuses of
remaining ports and closes the appropriate ones. The port
scanning is based on the new sibling iterator which uses the
invalid (already closed) port for reference. This patch
replaces the foreach iterator and uses the device object for
reference. It is worth to note this cleanup is not needed
for some drivers (at least for mlx5 and probably for others)
and is preserved due to possible compatibility issues.

Fixes: 13302cd5bd ("app/testpmd: use port sibling iterator in device cleanup")

Signed-off-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
Acked-by: Yongseok Koh <yskoh@mellanox.com>
Acked-by: Thomas Monjalon <thomas@monjalon.net>
2019-04-19 14:51:54 +02:00
..
pdump replace snprintf with strlcpy without adding extra include 2019-04-04 22:45:54 +02:00
proc-info meter: replace color definitions 2019-04-11 14:27:32 +02:00
test test/compress: fix missing include 2019-04-19 23:21:13 +02:00
test-acl replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
test-bbdev replace snprintf with strlcpy without adding extra include 2019-04-04 22:45:54 +02:00
test-cmdline app/cmdline: move from test directory 2019-02-26 15:24:11 +01:00
test-compress-perf app/compress-perf: add incompressible data handling 2019-04-02 16:50:24 +02:00
test-crypto-perf app/crypto-perf: check range of socket id 2019-04-18 16:01:28 +02:00
test-eventdev replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
test-pipeline app/pipeline: fix dependency for FreeBSD 2019-03-27 01:02:45 +01:00
test-pmd app/testpmd: fix port detach cleanup 2019-04-19 14:51:54 +02:00
Makefile test: move to app directory 2019-02-26 15:29:27 +01:00
meson.build build: increase readability via shortcut variables 2019-04-17 18:09:52 +02:00