Skip to content

Commit

Permalink
content: Add vq index text
Browse files Browse the repository at this point in the history
Introduce vq index and its range so that subsequent patches can refer
to it.

Fixes: oasis-tcs#163
Reviewed-by: David Edmondson <[email protected]>
Reviewed-by: Halil Pasic <[email protected]>
Signed-off-by: Parav Pandit <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
  • Loading branch information
paravmellanox authored and mstsirkin committed May 19, 2023
1 parent 0f433d6 commit b0fbccd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions content.tex
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,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.}.

A virtio device can have maximum of 65536 virtqueues. Each virtqueue is
identified by a virtqueue index. A virtqueue index has a value in the
range of 0 to 65535.

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
Expand Down

0 comments on commit b0fbccd

Please sign in to comment.