oasis-tcs / virtio-spec

OASIS Virtual I/O Device TC: Source code for the VIRTIO (Virtual I/O) Specification maintained by the OASIS Virtual I/O Device (VIRTIO) Technical Committee
https://github.com/oasis-tcs/virtio-spec
Other
241 stars 72 forks source link

Bring consistency to identify a virtuque by number #163

Closed paravmellanox closed 1 year ago

paravmellanox commented 1 year ago

Problem statement:

  1. Currently, a virtqueue is identified between the driver and device interchangeably using either number of index terminology.

  2. Between PCI and MMIO transport the queue size (depth) is defined as queue_size and QueueNum respectively.

To avoid confusion and to have consistency, unify them to use as Number.

Solution: Use virtqueue index description and rename MMIO register as QueueSize.

Patch to vote: https://lists.oasis-open.org/archives/virtio-comment/202305/msg00101.html Patch for maintainer to merge for automation: https://lore.kernel.org/virtio-comment/20230505014614.571520-1-parav@nvidia.com/

mstsirkin commented 1 year ago

BALLOT CREATED AT URL: https://www.oasis-open.org/committees/ballot.php?id=3777