RE: [virtio-dev] [PATCH v15 01/11] content: Add vq index text

Parav Pandit
2023-05-03T21:09:36Z

> From: David Edmondson <david.edmondson@oracle.com>
> Sent: Wednesday, May 3, 2023 6:35 AM

> >
> > +Each virtqueue is identified by a virtqueue index; virtqueue index
> > +range is from 0 to 65535 inclusive.
> > +
>
> The range is a property of the index, so generally we would say "a virtqueue
> index's range", but that feels a bit odd.
>
The range applies to the virtqueue too. Index is only to identify it.

So how about below,
A device can have maximum of 65536 virtqueues. Each virtqueue is identified by a virtqueue index.
A virtqueue index can have a value in range of 0 to 65535.