]> git.baikalelectronics.ru Git - kernel.git/commit
virtio: add helper virtio_find_vqs_ctx_size()
authorXuan Zhuo <xuanzhuo@linux.alibaba.com>
Mon, 1 Aug 2022 06:38:56 +0000 (14:38 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 11 Aug 2022 08:06:41 +0000 (04:06 -0400)
commitb5cb665256d2be026628bb68be6b2b7253e3c82e
tree2983d288a826fc5dbb02fea006919b731deb0199
parent93a71058e258ec663f9fcb19b6a08d67d2d72af8
virtio: add helper virtio_find_vqs_ctx_size()

Introduce helper virtio_find_vqs_ctx_size() to call find_vqs and specify
the maximum size of each vq ring.

Signed-off-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Message-Id: <20220801063902.129329-37-xuanzhuo@linux.alibaba.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
include/linux/virtio_config.h