vring_virtqueueRegular
4.4: ✅struct vring_virtqueue {
struct virtqueue vq;
struct vring vring;
bool weak_barriers;
bool broken;
bool indirect;
bool event;
unsigned int free_head;
unsigned int num_added;
u16 last_used_idx;
u16 avail_flags_shadow;
u16 avail_idx_shadow;
bool (*notify)(struct virtqueue *);
void * data[0];
};
4.8: ✅struct vring_virtqueue {
struct virtqueue vq;
struct vring vring;
bool weak_barriers;
bool broken;
bool indirect;
bool event;
unsigned int free_head;
unsigned int num_added;
u16 last_used_idx;
u16 avail_flags_shadow;
u16 avail_idx_shadow;
bool (*notify)(struct virtqueue *);
bool we_own_ring;
size_t queue_size_in_bytes;
dma_addr_t queue_dma_addr;
struct vring_desc_state desc_state[0];
};
4.10: ✅struct vring_virtqueue {
struct virtqueue vq;
struct vring vring;
bool weak_barriers;
bool broken;
bool indirect;
bool event;
unsigned int free_head;
unsigned int num_added;
u16 last_used_idx;
u16 avail_flags_shadow;
u16 avail_idx_shadow;
bool (*notify)(struct virtqueue *);
bool we_own_ring;
size_t queue_size_in_bytes;
dma_addr_t queue_dma_addr;
struct vring_desc_state desc_state[0];
};
4.13: ✅struct vring_virtqueue {
struct virtqueue vq;
struct vring vring;
bool weak_barriers;
bool broken;
bool indirect;
bool event;
unsigned int free_head;
unsigned int num_added;
u16 last_used_idx;
u16 avail_flags_shadow;
u16 avail_idx_shadow;
bool (*notify)(struct virtqueue *);
bool we_own_ring;
size_t queue_size_in_bytes;
dma_addr_t queue_dma_addr;
struct vring_desc_state desc_state[0];
};
4.15: ✅struct vring_virtqueue {
struct virtqueue vq;
struct vring vring;
bool weak_barriers;
bool broken;
bool indirect;
bool event;
unsigned int free_head;
unsigned int num_added;
u16 last_used_idx;
u16 avail_flags_shadow;
u16 avail_idx_shadow;
bool (*notify)(struct virtqueue *);
bool we_own_ring;
size_t queue_size_in_bytes;
dma_addr_t queue_dma_addr;
struct vring_desc_state desc_state[0];
};
4.18: ✅struct vring_virtqueue {
struct virtqueue vq;
struct vring vring;
bool weak_barriers;
bool broken;
bool indirect;
bool event;
unsigned int free_head;
unsigned int num_added;
u16 last_used_idx;
u16 avail_flags_shadow;
u16 avail_idx_shadow;
bool (*notify)(struct virtqueue *);
bool we_own_ring;
size_t queue_size_in_bytes;
dma_addr_t queue_dma_addr;
struct vring_desc_state desc_state[0];
};
5.0: ✅struct vring_virtqueue {
struct virtqueue vq;
bool packed_ring;
bool use_dma_api;
bool weak_barriers;
bool broken;
bool indirect;
bool event;
unsigned int free_head;
unsigned int num_added;
u16 last_used_idx;
struct (anon) split;
struct (anon) packed;
bool (*notify)(struct virtqueue *);
bool we_own_ring;
};
5.3: ✅struct vring_virtqueue {
struct virtqueue vq;
bool packed_ring;
bool use_dma_api;
bool weak_barriers;
bool broken;
bool indirect;
bool event;
unsigned int free_head;
unsigned int num_added;
u16 last_used_idx;
struct (anon) split;
struct (anon) packed;
bool (*notify)(struct virtqueue *);
bool we_own_ring;
};
5.4: ✅struct vring_virtqueue {
struct virtqueue vq;
bool packed_ring;
bool use_dma_api;
bool weak_barriers;
bool broken;
bool indirect;
bool event;
unsigned int free_head;
unsigned int num_added;
u16 last_used_idx;
struct (anon) split;
struct (anon) packed;
bool (*notify)(struct virtqueue *);
bool we_own_ring;
};
5.8: ✅struct vring_virtqueue {
struct virtqueue vq;
bool packed_ring;
bool use_dma_api;
bool weak_barriers;
bool broken;
bool indirect;
bool event;
unsigned int free_head;
unsigned int num_added;
u16 last_used_idx;
struct (anon) split;
struct (anon) packed;
bool (*notify)(struct virtqueue *);
bool we_own_ring;
};
5.11: ✅struct vring_virtqueue {
struct virtqueue vq;
bool packed_ring;
bool use_dma_api;
bool weak_barriers;
bool broken;
bool indirect;
bool event;
unsigned int free_head;
unsigned int num_added;
u16 last_used_idx;
struct (anon) split;
struct (anon) packed;
bool (*notify)(struct virtqueue *);
bool we_own_ring;
};
5.13: ✅struct vring_virtqueue {
struct virtqueue vq;
bool packed_ring;
bool use_dma_api;
bool weak_barriers;
bool broken;
bool indirect;
bool event;
unsigned int free_head;
unsigned int num_added;
u16 last_used_idx;
struct (anon) split;
struct (anon) packed;
bool (*notify)(struct virtqueue *);
bool we_own_ring;
};
5.15: ✅struct vring_virtqueue {
struct virtqueue vq;
bool packed_ring;
bool use_dma_api;
bool weak_barriers;
bool broken;
bool indirect;
bool event;
unsigned int free_head;
unsigned int num_added;
u16 last_used_idx;
bool event_triggered;
struct (anon) split;
struct (anon) packed;
bool (*notify)(struct virtqueue *);
bool we_own_ring;
};
5.19: ✅struct vring_virtqueue {
struct virtqueue vq;
bool packed_ring;
bool use_dma_api;
bool weak_barriers;
bool broken;
bool indirect;
bool event;
unsigned int free_head;
unsigned int num_added;
u16 last_used_idx;
bool event_triggered;
struct (anon) split;
struct (anon) packed;
bool (*notify)(struct virtqueue *);
bool we_own_ring;
};
6.2: ✅struct vring_virtqueue {
struct virtqueue vq;
bool packed_ring;
bool use_dma_api;
bool weak_barriers;
bool broken;
bool indirect;
bool event;
unsigned int free_head;
unsigned int num_added;
u16 last_used_idx;
bool event_triggered;
struct vring_virtqueue_split split;
struct vring_virtqueue_packed packed;
bool (*notify)(struct virtqueue *);
bool we_own_ring;
};
6.5: ✅struct vring_virtqueue {
struct virtqueue vq;
bool packed_ring;
bool use_dma_api;
bool weak_barriers;
bool broken;
bool indirect;
bool event;
unsigned int free_head;
unsigned int num_added;
u16 last_used_idx;
bool event_triggered;
struct vring_virtqueue_split split;
struct vring_virtqueue_packed packed;
bool (*notify)(struct virtqueue *);
bool we_own_ring;
struct device *dma_dev;
};
6.8: ✅struct vring_virtqueue {
struct virtqueue vq;
bool packed_ring;
bool use_dma_api;
bool weak_barriers;
bool broken;
bool indirect;
bool event;
bool premapped;
bool do_unmap;
unsigned int free_head;
unsigned int num_added;
u16 last_used_idx;
bool event_triggered;
struct vring_virtqueue_split split;
struct vring_virtqueue_packed packed;
bool (*notify)(struct virtqueue *);
bool we_own_ring;
struct device *dma_dev;
};
arm64: ✅struct vring_virtqueue {
struct virtqueue vq;
bool packed_ring;
bool use_dma_api;
bool weak_barriers;
bool broken;
bool indirect;
bool event;
unsigned int free_head;
unsigned int num_added;
u16 last_used_idx;
struct (anon) split;
struct (anon) packed;
bool (*notify)(struct virtqueue *);
bool we_own_ring;
};
armhf: ✅struct vring_virtqueue {
struct virtqueue vq;
bool packed_ring;
bool use_dma_api;
bool weak_barriers;
bool broken;
bool indirect;
bool event;
unsigned int free_head;
unsigned int num_added;
u16 last_used_idx;
struct (anon) split;
struct (anon) packed;
bool (*notify)(struct virtqueue *);
bool we_own_ring;
};
ppc64el: ✅struct vring_virtqueue {
struct virtqueue vq;
bool packed_ring;
bool use_dma_api;
bool weak_barriers;
bool broken;
bool indirect;
bool event;
unsigned int free_head;
unsigned int num_added;
u16 last_used_idx;
struct (anon) split;
struct (anon) packed;
bool (*notify)(struct virtqueue *);
bool we_own_ring;
};
riscv64: ✅struct vring_virtqueue {
struct virtqueue vq;
bool packed_ring;
bool use_dma_api;
bool weak_barriers;
bool broken;
bool indirect;
bool event;
unsigned int free_head;
unsigned int num_added;
u16 last_used_idx;
struct (anon) split;
struct (anon) packed;
bool (*notify)(struct virtqueue *);
bool we_own_ring;
};
aws: ✅struct vring_virtqueue {
struct virtqueue vq;
bool packed_ring;
bool use_dma_api;
bool weak_barriers;
bool broken;
bool indirect;
bool event;
unsigned int free_head;
unsigned int num_added;
u16 last_used_idx;
struct (anon) split;
struct (anon) packed;
bool (*notify)(struct virtqueue *);
bool we_own_ring;
};
azure: ✅struct vring_virtqueue {
struct virtqueue vq;
bool packed_ring;
bool use_dma_api;
bool weak_barriers;
bool broken;
bool indirect;
bool event;
unsigned int free_head;
unsigned int num_added;
u16 last_used_idx;
struct (anon) split;
struct (anon) packed;
bool (*notify)(struct virtqueue *);
bool we_own_ring;
};
gcp: ✅struct vring_virtqueue {
struct virtqueue vq;
bool packed_ring;
bool use_dma_api;
bool weak_barriers;
bool broken;
bool indirect;
bool event;
unsigned int free_head;
unsigned int num_added;
u16 last_used_idx;
struct (anon) split;
struct (anon) packed;
bool (*notify)(struct virtqueue *);
bool we_own_ring;
};
lowlatency: ✅struct vring_virtqueue {
struct virtqueue vq;
bool packed_ring;
bool use_dma_api;
bool weak_barriers;
bool broken;
bool indirect;
bool event;
unsigned int free_head;
unsigned int num_added;
u16 last_used_idx;
struct (anon) split;
struct (anon) packed;
bool (*notify)(struct virtqueue *);
bool we_own_ring;
};
Regular
4.4 and 4.8 ⚠️bool we_own_ring
size_t queue_size_in_bytes
dma_addr_t queue_dma_addr
struct vring_desc_state desc_state[0]
void * data[0]
4.8 and 4.10 ✅
4.10 and 4.13 ✅
4.13 and 4.15 ✅
4.15 and 4.18 ✅
4.18 and 5.0 ⚠️bool packed_ring
bool use_dma_api
struct (anon) split
struct (anon) packed
struct vring vring
u16 avail_flags_shadow
u16 avail_idx_shadow
size_t queue_size_in_bytes
dma_addr_t queue_dma_addr
struct vring_desc_state desc_state[0]
5.0 and 5.3 ✅
5.3 and 5.4 ✅
5.4 and 5.8 ✅
5.8 and 5.11 ✅
5.11 and 5.13 ✅
5.13 and 5.15 ⚠️bool event_triggered
5.15 and 5.19 ✅
5.19 and 6.2 ⚠️struct (anon) split ➡️ struct vring_virtqueue_split split
struct (anon) packed ➡️ struct vring_virtqueue_packed packed
6.2 and 6.5 ⚠️struct device *dma_dev
6.5 and 6.8 ⚠️bool premapped
bool do_unmap
amd64 and arm64 ✅
amd64 and armhf ✅
amd64 and ppc64el ✅
amd64 and riscv64 ✅
generic and aws ✅
generic and azure ✅
generic and gcp ✅
generic and lowlatency ✅