A virtio queue.
More...
#include <virtio.h>
|
| unsigned int | index |
| | Queue index.
|
| unsigned int | count |
| | Queue size (must be a power of two).
|
| unsigned int | mask |
| | Queue mask.
|
| unsigned int | prod |
| | Submission queue producer index.
|
| unsigned int | cons |
| | Completion queue consumer index.
|
| size_t | len |
| | Total length of queue.
|
| struct dma_mapping | map |
| | DMA mapping.
|
| struct virtio_desc * | desc |
| | Descriptor array (and start of DMA allocation).
|
| struct virtio_sq * | sq |
| | Submission queue.
|
| struct virtio_cq * | cq |
| | Completion queue.
|
| void * | db |
| | Notification doorbell.
|
A virtio queue.
Definition at line 207 of file virtio.h.
◆ index
| unsigned int virtio_queue::index |
◆ count
| unsigned int virtio_queue::count |
Queue size (must be a power of two).
Definition at line 211 of file virtio.h.
◆ mask
| unsigned int virtio_queue::mask |
◆ prod
| unsigned int virtio_queue::prod |
Submission queue producer index.
Definition at line 215 of file virtio.h.
◆ cons
| unsigned int virtio_queue::cons |
Completion queue consumer index.
Definition at line 217 of file virtio.h.
◆ len
Total length of queue.
Definition at line 219 of file virtio.h.
◆ map
◆ desc
Descriptor array (and start of DMA allocation).
Definition at line 223 of file virtio.h.
◆ sq
Submission queue.
Definition at line 225 of file virtio.h.
◆ cq
Completion queue.
Definition at line 227 of file virtio.h.
◆ db
Notification doorbell.
Definition at line 229 of file virtio.h.
The documentation for this struct was generated from the following file: