numam-dpdk/app
Jeff Guo 2049c5113f app/testpmd: use hotplug failure handler
This patch use testpmd for example, to show how an app smoothly handle
failure when device be hot-unplug. Except that app should enabled the
device event monitor and register the hotplug event’s callback, it also
need enable hotplug handle mechanism before running. Once app detect the
removal event, the hot-unplug callback would be called. It will first stop
the packet forwarding, then stop the port, close the port, and finally
detach the port to clean the device and release the resources.

Signed-off-by: Jeff Guo <jia.guo@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Acked-by: Bernard Iremonger <bernard.iremonger@intel.com>
2018-10-15 22:19:00 +02:00
..
pdump app/pdump: use EAL hotplug instead of ethdev attach 2018-08-06 00:52:16 +02:00
proc-info app/procinfo: fix sprintf overrun 2018-05-14 23:32:23 +02:00
test-bbdev app/bbdev: fix inputs mbuf creation 2018-08-30 05:10:50 +02:00
test-crypto-perf app/test-crypto-perf: fix double allocation of memory 2018-09-25 17:57:25 +02:00
test-eventdev app/eventdev: support Tx adapter 2018-10-01 16:54:00 +02:00
test-pmd app/testpmd: use hotplug failure handler 2018-10-15 22:19:00 +02:00
Makefile app/procinfo: rename folder to remove underscore 2018-03-12 16:29:27 +01:00
meson.build app: add all remaining apps to meson build 2018-03-12 16:29:27 +01:00