[dpdk-dev] [PATCH 3/3] vfio: Added hotplug test program

2015-08-04 Thread Harpal Singh
From: Harpal Singh <harpal...@samsung.com> Added a new hotplug test program: it has been added to test hot removal of a vfio device. 1) This test will first deregister all the pci drivers and register its own driver. 2) Then it scan the bus and call probe for all the scanned devices whose

[dpdk-dev] [PATCH 2/3] vfio: Added vfio req interrupt support

2015-08-04 Thread Harpal Singh
From: Harpal Singh <harpal...@samsung.com> This patch will add support for req interrupt which will be used by vfio kernel module to request user space to release allocated resources. It will provide addtional mechanism in user space to get system notification about when to release vfio res

[dpdk-dev] [PATCH 1/3] vfio: Added hot removal feature for vfio

2015-08-04 Thread Harpal Singh
From: Harpal Singh <harpal...@samsung.com> This patch will add a new API i.e. pci_vfio_unmap_resource. It will basically cleanup all the vfio resources allocated for a device. cleanup includes :- 1) removing vfio_res from vfio_res_list 2) unmap mapped bars 3) close device fd 4) close grou

[dpdk-dev] [PATCH 0/3] vfio hotplug feature

2015-08-04 Thread Harpal Singh
From: Harpal Singh <harpal...@samsung.com> This patch set will provide vfio hotplug removal feature. It include 3 patches:- 1) First patch adds the vfio unmap resource feature, which will release the resources allocated during initialization phase. 2) Second patch adds vfio req interrupt s