OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

virtio-dev message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [virtio-dev] [PATCH 2/3] transport-mmio: Rename QueueNum register


Thu, Feb 23, 2023 at 06:46:23AM CET, parav@nvidia.com wrote:
>Currently, the specification uses virtqueue index and number
>interchangeably to refer to the virtqueue.
>
>It is better to identify it using one terminology.
>
>Two registers QueueNumMax and QueueNum actually reflect the queue size
>or queue depth indicating max and actual number of entries in the queue.
>Equivalent register in PCI transport is named differently as queue_size.
>
>To bring consistency between pci and mmio transport, and to avoid
>confusion between number and index, rename the QueueNumMax and QueueNum
>registers to QueueSizeMax and QueueSize respectively.
>
>[1] https://lists.oasis-open.org/archives/virtio-dev/202302/msg00527.html
>
>Fixes: https://github.com/oasis-tcs/virtio-spec/issues/163
>Signed-off-by: Parav Pandit <parav@nvidia.com>

Reviewed-by: Jiri Pirko <jiri@nvidia.com>


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]