]> git.baikalelectronics.ru Git - kernel.git/commit
vDPA/ifcvf: manage ifcvf_hw in the mgmt_dev
authorZhu Lingshan <lingshan.zhu@intel.com>
Fri, 25 Nov 2022 14:57:21 +0000 (22:57 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 11 Mar 2023 12:55:42 +0000 (13:55 +0100)
commitc4fb01369289181499b4dd0471ac1e6da8c8bcd3
tree2c58b834de871c8925bcf98ba343d115f0418932
parent7f237076dabe791982be780dd2dfa9243e04059e
vDPA/ifcvf: manage ifcvf_hw in the mgmt_dev

commit c864901bd4216ff883f748ea78992cf8a8943b82 upstream.

This commit allocates the hw structure in the
management device structure. So the hardware
can be initialized once the management device
is allocated in probe.

Signed-off-by: Zhu Lingshan <lingshan.zhu@intel.com>
Cc: stable@vger.kernel.org
Message-Id: <20221125145724.1129962-10-lingshan.zhu@intel.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/vdpa/ifcvf/ifcvf_base.h
drivers/vdpa/ifcvf/ifcvf_main.c