vfio: support hotplug
authorAlejandro Lucero <alejandro.lucero@netronome.com>
Wed, 29 Mar 2017 09:54:50 +0000 (10:54 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 30 Mar 2017 16:40:15 +0000 (18:40 +0200)
commit94c0776b1badd1ee715d60f07391058f23494365
treeb56d0e2c850698cfc7b4348c78a57d9d552f7339
parentbb7927fd2179d7482de58d87352ecc50c69da427
vfio: support hotplug

Current device hotplug is just supported by UIO managed devices.
This patch adds same functionality with VFIO.

It has been validated through tests using IOMMU and also with
VFIO and no-iommu mode.

Signed-off-by: Alejandro Lucero <alejandro.lucero@netronome.com>
Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
doc/guides/prog_guide/port_hotplug_framework.rst
doc/guides/rel_notes/release_17_05.rst
lib/librte_eal/common/eal_common_pci.c
lib/librte_eal/linuxapp/eal/eal_pci.c
lib/librte_eal/linuxapp/eal/eal_pci_init.h
lib/librte_eal/linuxapp/eal/eal_pci_vfio.c
lib/librte_eal/linuxapp/eal/eal_vfio.c
lib/librte_eal/linuxapp/eal/eal_vfio.h
lib/librte_eal/linuxapp/eal/eal_vfio_mp_sync.c
lib/librte_ether/rte_ethdev.c