Thu, Feb 23, 2023 at 06:46:23AM CET, [email protected] 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 <[email protected]>
Reviewed-by: Jiri Pirko <[email protected]> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
