OpenAMP Library  353
vring_avail Struct Reference

Used to offer buffers to the device. More...

#include <virtio_ring.h>

Data Fields

uint16_t flags
 Flag which determines whether device notifications are required. More...
 
uint16_t idx
 Indicates where the driver puts the next descriptor entry in the ring (modulo the queue size) More...
 
uint16_t ring [0]
 The ring of descriptors. More...
 

Detailed Description

Used to offer buffers to the device.

Each ring entry refers to the head of a descriptor chain. It is only written by the driver and read by the device.

Field Documentation

◆ flags

uint16_t vring_avail::flags

Flag which determines whether device notifications are required.

◆ idx

uint16_t vring_avail::idx

Indicates where the driver puts the next descriptor entry in the ring (modulo the queue size)

◆ ring

uint16_t vring_avail::ring[0]

The ring of descriptors.


The documentation for this struct was generated from the following file: