]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
vdpa: support exposing the count of vqs to userspace
authorLongpeng <longpeng2@huawei.com>
Tue, 15 Mar 2022 03:25:53 +0000 (11:25 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 28 Mar 2022 20:53:00 +0000 (16:53 -0400)
commitb04d910af330b55e1d5d6eb9ecd53a375a9cf81c
tree21325d43a9ba2f7277bc9991d60eef9617596ea6
parent81d46d693173a5c86a9b0c648eca1817ad5c0ae5
vdpa: support exposing the count of vqs to userspace

- GET_VQS_COUNT: the count of virtqueues that exposed

Signed-off-by: Longpeng <longpeng2@huawei.com>
Link: https://lore.kernel.org/r/20220315032553.455-4-longpeng2@huawei.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Longpeng &lt;<a href="mailto:longpeng2@huawei.com" target="_blank">longpeng2@huawei.com</a>&gt;<br>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
drivers/vhost/vdpa.c
include/uapi/linux/vhost.h