OpenAMP Library  353
vring_used Struct Reference

The device returns buffers to this structure when done with them. 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...
 
struct vring_used_elem ring [0]
 The ring of descriptors. More...
 

Detailed Description

The device returns buffers to this structure when done with them.

The structure is only written to by the device, and read by the driver.

Field Documentation

◆ flags

uint16_t vring_used::flags

Flag which determines whether device notifications are required.

◆ idx

uint16_t vring_used::idx

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

◆ ring

struct vring_used_elem vring_used::ring[0]

The ring of descriptors.


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