summaryrefslogtreecommitdiffstats
path: root/drivers/vdpa/vdpa_user
diff options
context:
space:
mode:
authorGautam Dawar <gautam.dawar@xilinx.com>2022-03-30 20:03:45 +0200
committerMichael S. Tsirkin <mst@redhat.com>2022-05-31 18:44:27 +0200
commitd4821902e43453b85b31329441a9f6ac071228a8 (patch)
tree0414b5c89a71368fbce8af6ef5ef1129d28f5cdd /drivers/vdpa/vdpa_user
parentvhost-vdpa: switch to use vhost-vdpa specific IOTLB (diff)
downloadlinux-d4821902e43453b85b31329441a9f6ac071228a8.tar.xz
linux-d4821902e43453b85b31329441a9f6ac071228a8.zip
vdpa: introduce virtqueue groups
This patch introduces virtqueue groups to vDPA device. The virtqueue group is the minimal set of virtqueues that must share an address space. And the address space identifier could only be attached to a specific virtqueue group. Signed-off-by: Jason Wang <jasowang@redhat.com> Signed-off-by: Gautam Dawar <gdawar@xilinx.com> Message-Id: <20220330180436.24644-6-gdawar@xilinx.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/vdpa/vdpa_user')
-rw-r--r--drivers/vdpa/vdpa_user/vduse_dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/vdpa/vdpa_user/vduse_dev.c b/drivers/vdpa/vdpa_user/vduse_dev.c
index f85d1a08ed87..4ee6850b9a68 100644
--- a/drivers/vdpa/vdpa_user/vduse_dev.c
+++ b/drivers/vdpa/vdpa_user/vduse_dev.c
@@ -1495,7 +1495,7 @@ static int vduse_dev_init_vdpa(struct vduse_dev *dev, const char *name)
return -EEXIST;
vdev = vdpa_alloc_device(struct vduse_vdpa, vdpa, dev->dev,
- &vduse_vdpa_config_ops, name, true);
+ &vduse_vdpa_config_ops, 1, name, true);
if (IS_ERR(vdev))
return PTR_ERR(vdev);