vDPA/ifcvf: implement device MSIX vector allocator
authorZhu Lingshan <lingshan.zhu@intel.com>
Tue, 22 Feb 2022 11:54:26 +0000 (19:54 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 28 Mar 2022 20:52:57 +0000 (16:52 -0400)
commitad5c5690de57f0bd3888ecade4685d4181a4e85c
tree52d527429f6c51b662b5ebda20129411b50c90b0
parentcce0ab2b2a39072d81f98017f7b076f3410ef740
vDPA/ifcvf: implement device MSIX vector allocator

This commit implements a MSIX vector allocation helper
for vqs and config interrupts.

Signed-off-by: Zhu Lingshan <lingshan.zhu@intel.com>
Link: https://lore.kernel.org/r/20220222115428.998334-4-lingshan.zhu@intel.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vdpa/ifcvf/ifcvf_main.c