projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drm/amdgpu/discovery: enable gmc v11 for GC 11.0.4
[platform/kernel/linux-starfive.git]
/
drivers
/
virtio
/
virtio_vdpa.c
diff --git
a/drivers/virtio/virtio_vdpa.c
b/drivers/virtio/virtio_vdpa.c
index
c40f7de
..
9670cc7
100644
(file)
--- a/
drivers/virtio/virtio_vdpa.c
+++ b/
drivers/virtio/virtio_vdpa.c
@@
-183,6
+183,8
@@
virtio_vdpa_setup_vq(struct virtio_device *vdev, unsigned int index,
goto error_new_virtqueue;
}
+ vq->num_max = max_num;
+
/* Setup virtqueue callback */
cb.callback = callback ? virtio_vdpa_virtqueue_cb : NULL;
cb.private = info;