numam-dpdk/app
Cristian Dumitrescu 08fd782b84 app/testpmd: fix quit to stop all ports before close
This patch proposes a slightly different test-pmd quit operation: stop
all devices before starting to close any device. Basically, stop all
moving parts before beginning to remove them. The current test-pmd quit
is stopping and closing each device before moving to the next device.

If all devices in the system are independent of each other, this
difference is usually not important. In case of Soft NIC devices, any
such virtual device typically depends on one or more physical devices
being alive, as it accesses their queues, so this difference becomes
important.

Without this straightforward fix, all the Soft NIC devices need to be
manually stopped before the quit command is issued, otherwise the quit
command can sometimes crash the test-pmd application.

Fixes: d3a274ce9d ("app/testpmd: handle SIGINT and SIGTERM")
Cc: stable@dpdk.org

Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Acked-by: Bernard Iremonger <bernard.iremonger@intel.com>
2019-01-14 17:44:29 +01:00
..
pdump app/pdump: fix port id storage size 2018-11-18 22:32:47 +01:00
proc-info app/procinfo: add --iter-mempool 2019-01-11 15:45:30 +01:00
test-bbdev app/bbdev: fix return value check 2019-01-10 16:57:22 +01:00
test-compress-perf app/compress-perf: refactor code 2018-12-19 11:19:11 +01:00
test-crypto-perf app/crypto-perf: use separate session mempools 2019-01-10 16:57:22 +01:00
test-eventdev app/eventdev: detect deadlock for timer event producer 2018-12-16 17:58:06 +01:00
test-pmd app/testpmd: fix quit to stop all ports before close 2019-01-14 17:44:29 +01:00
Makefile app/compress-perf: add parser 2018-12-19 11:19:10 +01:00
meson.build app/compress-perf: add parser 2018-12-19 11:19:10 +01:00