![]() |
L4Re Operating System Framework
Interface and Usage Documentation
|
Queue configuration entry. More...
#include <virtio.h>
Data Fields | |
| l4_uint16_t | num_max |
| R: maximum number of descriptors supported by this queue. | |
| l4_uint16_t | num |
| RW: number of descriptors configured for this queue. | |
| l4_uint16_t | ready |
| RW: queue ready flag (read-write). | |
| l4_uint16_t | driver_notify_index |
| W: Event index to be used for device notifications (device to driver). | |
| l4_uint64_t | desc_addr |
| W: address of descriptor table. | |
| l4_uint64_t | avail_addr |
| W: address of available ring. | |
| l4_uint64_t | used_addr |
| W: address of used ring. | |
| l4_uint16_t | device_notify_index |
| R: Event index to be used by the driver (driver to device). | |
Queue configuration entry.
An array of such entries is available at the l4virtio_config_hdr_t::queues_offset in the config data space.
Consistency rules for the queue config are: