diff options
author | Xuan Zhuo <xuanzhuo@linux.alibaba.com> | 2022-08-01 08:38:24 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2022-08-11 10:06:38 +0200 |
commit | 3ea19e3265d8d140bdd2905e7c40216368cac589 (patch) | |
tree | 07a7469bcf7eb6c5d3b4bda98de9a77780408f7b /drivers/virtio/virtio_pci_common.h | |
parent | virtio_ring: update the document of the virtqueue_detach_unused_buf for queue... (diff) | |
download | linux-3ea19e3265d8d140bdd2905e7c40216368cac589.tar.xz linux-3ea19e3265d8d140bdd2905e7c40216368cac589.zip |
virtio_ring: extract the logic of freeing vring
Introduce vring_free() to free the vring of vq.
Subsequent patches will use vring_free() alone.
Signed-off-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Message-Id: <20220801063902.129329-5-xuanzhuo@linux.alibaba.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/virtio/virtio_pci_common.h')
0 files changed, 0 insertions, 0 deletions