[dpdk-dev] [PATCH v11 03/19] bus/pci: enable vfio unmap resource for secondary

Burakov, Anatoly anatoly.burakov at intel.com
Wed Jul 11 10:43:00 CEST 2018


On 11-Jul-18 4:09 AM, Qi Zhang wrote:
> Subroutine to unmap VFIO resource is shared by secondary and
> primary, and it does not work on the secondary process. Since
> for secondary process, it is not necessary to close interrupt
> handler, set pci bus mastering and remove vfio_res from
> vfio_res_list. So, the patch adds a dedicate function to handle
> the situation when a device is unmapped on a secondary process.
> 
> Signed-off-by: Qi Zhang <qi.z.zhang at intel.com>
> ---
Reviewed-by: Anatoly Burakov <anatoly.burakov at intel.com>

-- 
Thanks,
Anatoly


More information about the dev mailing list