virtio: rename virtio_split_packed_update_used_idx
virtio_split_packed_update_used_idx should be virtio_queue_split_update_used_idx like virtio_split_packed_update_used_idx. Signed-off-by: Wenyu Huang <huangwenyuu@outlook.com> Message-Id: <TYBP286MB036536B9015994AA5F3E4495ACB22@TYBP286MB0365.JPNP286.PROD.OUTLOOK.COM> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
aa37616fb4
commit
e667485a80
@ -3669,7 +3669,7 @@ static void virtio_queue_packed_update_used_idx(VirtIODevice *vdev, int n)
|
||||
return;
|
||||
}
|
||||
|
||||
static void virtio_split_packed_update_used_idx(VirtIODevice *vdev, int n)
|
||||
static void virtio_queue_split_update_used_idx(VirtIODevice *vdev, int n)
|
||||
{
|
||||
RCU_READ_LOCK_GUARD();
|
||||
if (vdev->vq[n].vring.desc) {
|
||||
@ -3682,7 +3682,7 @@ void virtio_queue_update_used_idx(VirtIODevice *vdev, int n)
|
||||
if (virtio_vdev_has_feature(vdev, VIRTIO_F_RING_PACKED)) {
|
||||
return virtio_queue_packed_update_used_idx(vdev, n);
|
||||
} else {
|
||||
return virtio_split_packed_update_used_idx(vdev, n);
|
||||
return virtio_queue_split_update_used_idx(vdev, n);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user