numam-dpdk/doc/guides
Jeff Guo a753e53d51 eal: add device event monitor framework
This patch aims to add a general device event monitor framework at
EAL device layer, for device hotplug awareness and actions adopted
accordingly. It could also expand for all other types of device event
monitor, but not in this scope at the stage.

To get started, users firstly call below new added APIs to enable/disable
the device event monitor mechanism:
  - rte_dev_event_monitor_start
  - rte_dev_event_monitor_stop

Then users shell register or unregister callbacks through the new added
APIs. Callbacks can be some device specific, or for all devices.
  -rte_dev_event_callback_register
  -rte_dev_event_callback_unregister

Use hotplug case for example, when device hotplug insertion or hotplug
removal, we will get notified from kernel, then call user's callbacks
accordingly to handle it, such as detach or attach the device from the
bus, and could benefit further fail-safe or live-migration.

Signed-off-by: Jeff Guo <jia.guo@intel.com>
Reviewed-by: Jianfeng Tan <jianfeng.tan@intel.com>
2018-04-13 12:00:31 +02:00
..
bbdevs bb/turbo_sw: add software turbo driver 2018-01-19 01:44:25 +01:00
contributing doc: add maintainers section to the contributors guide 2018-02-14 00:23:25 +01:00
cryptodevs crypto/dpaa2_sec: support dynamic logging 2018-04-03 00:05:07 +02:00
eventdevs event/dpaa2: support dynamic logging 2018-04-02 23:42:23 +02:00
faq doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
freebsd_gsg doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
howto doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
linux_gsg align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
mempool doc: remove unused config options 2018-01-16 18:47:49 +01:00
nics align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
platform doc: use SPDX tag for Cavium copyright files 2018-01-09 16:19:01 +01:00
prog_guide mbuf: remove control mbuf 2018-04-11 23:40:40 +02:00
rel_notes eal: add device event monitor framework 2018-04-13 12:00:31 +02:00
sample_app_ug vhost: avoid populate guest memory 2018-03-30 17:25:45 +02:00
testpmd_app_ug doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
tools doc: update limitations in procinfo guide 2018-02-08 23:06:37 +01:00
conf.py doc: adapt features tables header height 2018-03-21 23:04:21 +01:00
custom.css doc: improve HTML spacing in release notes 2018-02-14 00:23:25 +01:00
index.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00