virtio_ring: introduce virtqueue_desc_add_split()
authorJason Wang <jasowang@redhat.com>
Fri, 4 Jun 2021 05:53:48 +0000 (13:53 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 8 Jul 2021 11:49:01 +0000 (07:49 -0400)
commitfe4c3862df630ec711133e686e023b4467da2ec1
tree46baae0fa79f81c547ee9180e5fb17ef33371e07
parent44593865b7c5f55bf587f297c72d682c671eea2b
virtio_ring: introduce virtqueue_desc_add_split()

This patch introduces a helper for storing descriptor in the
descriptor table for split virtqueue.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Link: https://lore.kernel.org/r/20210604055350.58753-6-jasowang@redhat.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/virtio/virtio_ring.c