vDPA/ifcvf: retire ifcvf_start_datapath and ifcvf_add_status
authorZhu Lingshan <lingshan.zhu@intel.com>
Fri, 26 May 2023 14:52:52 +0000 (22:52 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 27 Jun 2023 14:47:07 +0000 (10:47 -0400)
commitaeb5ef30bbcc2a4c605f7d44f088113a073c0224
tree694d3397976771879448702f52ca25c369b2bd1b
parent1a252f0391d48733174276247c3d22b8a85a4406
vDPA/ifcvf: retire ifcvf_start_datapath and ifcvf_add_status

Rather than former lazy-initialization mechanism,
now the virtqueue operations and driver_features related
ops access the virtio registers directly to take
immediate actions. So ifcvf_start_datapath() should
retire.

ifcvf_add_status() is retierd because we should not change
device status by a vendor driver's decision, this driver should
only set device status which is from virito drivers
upon vdpa_ops.set_status()

Signed-off-by: Zhu Lingshan <lingshan.zhu@intel.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Message-Id: <20230526145254.39537-4-lingshan.zhu@intel.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vdpa/ifcvf/ifcvf_base.c
drivers/vdpa/ifcvf/ifcvf_base.h
drivers/vdpa/ifcvf/ifcvf_main.c