On Tue, Mar 28 2023, Parav Pandit <[email protected]> wrote:

> Introduce vq number and its range so that subsequent patches can refer
> to it.
>
> Fixes: https://github.com/oasis-tcs/virtio-spec/issues/163
> Signed-off-by: Parav Pandit <[email protected]>
> ---
> changelog:
> v8->v9:
> - added inclusive when describing the vq number range
> - skipped comment to put virtqueue number wording first because we
>   prefer to use shorter vq number as much as possible
> v5->v6:
> - moved description close to introduction, it was in middle of
>   queue data transfer description
> v2->v3:
> - new patch
> ---
>  content.tex | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/content.tex b/content.tex
> index cff548a..3766bf9 100644
> --- a/content.tex
> +++ b/content.tex
> @@ -298,6 +298,10 @@ \section{Virtqueues}\label{sec:Basic Facilities of a 
> Virtio Device / Virtqueues}
>  virtqueues\footnote{For example, the simplest network device has one 
> virtqueue for
>  transmit and one for receive.}.
>  
> +Each virtqueue is identified by a vq number or also referred
> +to as a virtqueue number;

I think "identified by a vq number (also referred to as a virtqueue
number)" would read better.

> vq number range is from 0 to 65535
> +inclusive.
> +
>  Driver makes requests available to device by adding
>  an available buffer to the queue, i.e., adding a buffer
>  describing the request to a virtqueue, and optionally triggering


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to