numam-dpdk/app
Jeff Guo fb73e09611 app/testpmd: enable device hotplug monitoring
Use testpmd for example, to show how an application uses device event
APIs to monitor the hotplug events, including both hot removal event
and hot insertion event.

The process is that, testpmd first enable hotplug by below commands,

E.g. ./build/app/testpmd -c 0x3 --n 4 -- -i --hot-plug

then testpmd starts the device event monitor by calling the new API
(rte_dev_event_monitor_start) and register the user's callback by call
the API (rte_dev_event_callback_register), when device being hotplug
insertion or hotplug removal, the device event monitor detects the event
and call user's callbacks, user could process the event in the callback
accordingly.

This patch only shows the event monitoring, device attach/detach would
not be involved here, will add from other hotplug patch set.

Signed-off-by: Jeff Guo <jia.guo@intel.com>
Reviewed-by: Jianfeng Tan <jianfeng.tan@intel.com>
2018-04-13 12:01:19 +02:00
..
pdump convert snprintf to strlcpy 2018-04-04 17:33:08 +02:00
proc-info app/procinfo: fix strncpy usage in args parsing 2018-03-28 00:35:37 +02:00
test-bbdev app: add all remaining apps to meson build 2018-03-12 16:29:27 +01:00
test-crypto-perf app/crypto-perf: fix IOVA translation 2018-04-11 02:12:16 +02:00
test-eventdev app: generalize meson build 2018-03-12 16:29:27 +01:00
test-pmd app/testpmd: enable device hotplug monitoring 2018-04-13 12:01:19 +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