Thread (9 messages) 9 messages, 4 authors, 2021-07-07

Re: [PATCH 1/2] vdpa: support per virtqueue max queue size

From: Jason Wang <hidden>
Date: 2021-07-07 05:39:07
Also in: kvm, lkml, virtualization

在 2021/7/7 下午12:04, Yongji Xie 写道:
quoted
  static long vhost_vdpa_get_vring_num(struct vhost_vdpa *v, u16 __user *argp)
  {
-       struct vdpa_device *vdpa = v->vdpa;
-       const struct vdpa_config_ops *ops = vdpa->config;
         u16 num;

-       num = ops->get_vq_num_max(vdpa);
+       /*
+        * VHOST_VDPA_GET_VRING_NUM asssumes a global max virtqueue
s/asssumes/assumes. Other looks good to me.

Thanks,
Yongji
Will fix.

Thanks
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help