mirror of
https://github.com/torvalds/linux.git
synced 2026-11-06 21:58:01 +01:00
virtio: use consistent virtqueue terminology
Use virtqueue consistently in the notify function comments across the MMIO and PCI transports. Assisted-by: LLM Signed-off-by: Wei-Shuo Chen <tavhadia@gmail.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Message-ID: <20261016072318.24015-1-tavhadia@gmail.com>
This commit is contained in:
parent
161aa708b0
commit
57c1c0d172
|
|
@ -270,7 +270,7 @@ static void vm_reset(struct virtio_device *vdev)
|
|||
|
||||
/* Transport interface */
|
||||
|
||||
/* the notify function used when creating a virt queue */
|
||||
/* the notify function used when creating a virtqueue */
|
||||
static bool vm_notify(struct virtqueue *vq)
|
||||
{
|
||||
struct virtio_mmio_device *vm_dev = to_virtio_mmio_device(vq->vdev);
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ void vp_synchronize_vectors(struct virtio_device *vdev)
|
|||
synchronize_irq(pci_irq_vector(vp_dev->pci_dev, i));
|
||||
}
|
||||
|
||||
/* the notify function used when creating a virt queue */
|
||||
/* the notify function used when creating a virtqueue */
|
||||
bool vp_notify(struct virtqueue *vq)
|
||||
{
|
||||
/* we write the queue's selector into the notification register to
|
||||
|
|
|
|||
|
|
@ -127,7 +127,7 @@ static struct virtio_pci_device *to_vp_device(struct virtio_device *vdev)
|
|||
|
||||
/* wait for pending irq handlers */
|
||||
void vp_synchronize_vectors(struct virtio_device *vdev);
|
||||
/* the notify function used when creating a virt queue */
|
||||
/* the notify function used when creating a virtqueue */
|
||||
bool vp_notify(struct virtqueue *vq);
|
||||
/* the config->del_vqs() implementation */
|
||||
void vp_del_vqs(struct virtio_device *vdev);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user