OSDN Git Service

vDPA/ifcvf: virt queue ops take immediate actions
authorZhu Lingshan <lingshan.zhu@intel.com>
Fri, 26 May 2023 14:52:50 +0000 (22:52 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 27 Jun 2023 14:47:07 +0000 (10:47 -0400)
commita4751306bf696785b7446503c287010e667d002b
treeb591717440dfdc7d51e6bc70aff033210075b331
parent6995e2de6891c724bfeb2db33d7b87775f913ad1
vDPA/ifcvf: virt queue ops take immediate actions

In this commit, virtqueue operations including:
set_vq_num(), set_vq_address(), set_vq_ready()
and get_vq_ready() access PCI registers directly
to take immediate actions.

Signed-off-by: Zhu Lingshan <lingshan.zhu@intel.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Message-Id: <20230526145254.39537-2-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