vDPA/ifcvf: decouple config/dev IRQ requester and vectors allocator from the adapter
authorZhu Lingshan <lingshan.zhu@intel.com>
Fri, 25 Nov 2022 14:57:19 +0000 (22:57 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 21 Feb 2023 00:26:55 +0000 (19:26 -0500)
commita70d833e696e538a0feff5e539086c74a90ddf90
tree68278a3b60e83b0e403a97a8967bf55389dfc90e
parentf9a9ffb2e4dbde81090416fc51662441c2a7b73b
vDPA/ifcvf: decouple config/dev IRQ requester and vectors allocator from the adapter

This commit decouples the config irq requester, the device
shared irq requester and the MSI vectors allocator from
the adapter. So they can be safely invoked since probe
before the adapter is allocated.

Signed-off-by: Zhu Lingshan <lingshan.zhu@intel.com>
Cc: stable@vger.kernel.org
Message-Id: <20221125145724.1129962-8-lingshan.zhu@intel.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vdpa/ifcvf/ifcvf_main.c