[dpdk-dev] [PATCH v4 0/4] Enable hotplug in vfio

Burakov, Anatoly anatoly.burakov at intel.com
Thu Oct 4 11:11:22 CEST 2018


On 04-Oct-18 7:44 AM, Jeff Guo wrote:
> As we may know that the process of hotplug is different between igb_uio
> and vfio. For igb_uio, it could use uevent notification and memory
> failure handle mechanism for hot-unplug. But for vfio, when device is be
> hot-unplugged, the uevent can not be detected immediately, because of the
> vfio kernel module will use a special mechanism to guaranty the pci
> device would not be deleted until the user space release the resources,
> so it will use another req notifier event at first to notify user space
> to release resources for hotplug.
> 
> This patch will add a new interrupt type of req notifier in eal interrupt,
> and add the new interrupt handler in pci device to handle the req device
> event. When the req notifier be detected, it can trigger the device event
> callback process to process for hot-unplug. With this mechanism, hotplug
> could be enable in vfio.
> 

LGTM

Acked-by: Anatoly Burakov <anatoly.burakov at intel.com>

-- 
Thanks,
Anatoly


More information about the dev mailing list