]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
virtio_ring: separate the logic of reset/enable from virtqueue_resize
authorXuan Zhuo <xuanzhuo@linux.alibaba.com>
Thu, 10 Aug 2023 12:30:53 +0000 (20:30 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 3 Sep 2023 22:10:23 +0000 (18:10 -0400)
commitad48d53b5b3fbcc10ea89070709724ad589e9223
tree0ce16f21fb7c438d0bc6ae5a826998a7fa81d3cf
parent4d09f24080dd301083a70d5a2c25fb59b149fec1
virtio_ring: separate the logic of reset/enable from virtqueue_resize

The subsequent reset function will reuse these logic.

Signed-off-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Message-Id: <20230810123057.43407-9-xuanzhuo@linux.alibaba.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/virtio/virtio_ring.c