Expand description
Pointer-free, little-endian wire structures for portable virtio-accel protocol 1.0.
The versioned byte contract is a candidate for independent implementation and final audit. It intentionally does not assign or claim a Virtio device ID or standardize provider artifact contents.
Structs§
- Allocate
Buffer Request - Create
Context Request - Create
Queue Request - Feature
Bits - Device-specific feature bits. Virtio transport feature bits are deliberately separate.
- Load
Program Request - Object
Payload - Request
Flags - Per-request flags.
- Request
Header - Response
Header - Status
Code - Submit
Request - Submit
Response - Event identifier returned for an accepted or indeterminate submission.
- Transfer
Buffer Request - Unknown
Event State - Unknown
Opcode - Wire
Binding - Wire
Config - Wire
Device Info - Wire
Event State
Enums§
Constants§
- BASELINE_
COMMAND_ QUEUES - Number of command virtqueues in the baseline device model.
- BASELINE_
FEATURES - Feature set required by every implementation of portable protocol 1.0.
- COMMAND_
QUEUE - Index of the baseline command virtqueue.
- HARD_
MAX_ BINDINGS - Protocol-wide upper bound for bindings carried by one submission.
- HARD_
MAX_ CHAIN_ DESCRIPTORS - Protocol-wide upper bound for flattened descriptors in one command chain.
- HARD_
MAX_ REQUEST_ BYTES - Protocol-wide upper bound for one complete request frame, including its header.
- HARD_
MAX_ RESPONSE_ BYTES - Protocol-wide upper bound for one complete response frame, including its header.
- KNOWN_
BUFFER_ USAGE_ BITS - Mask of buffer-usage bits assigned by protocol 1.0.
- KNOWN_
CONTEXT_ FLAG_ BITS - Context flags accepted by protocol 1.0.
- KNOWN_
PROGRAM_ FLAG_ BITS - Program-load flags accepted by protocol 1.0.
- KNOWN_
QUEUE_ FLAG_ BITS - Accelerator execution-queue flags accepted by protocol 1.0.
- KNOWN_
REQUEST_ FLAG_ BITS - Request flags accepted by protocol 1.0.
- KNOWN_
SUBMIT_ FLAG_ BITS - Submission flags accepted by protocol 1.0.
- MIN_
MAX_ REQUEST_ BYTES - Smallest request-frame limit that can carry every baseline opcode.
- MIN_
MAX_ RESPONSE_ BYTES - Smallest response-frame limit that can carry every baseline response.
- PROTOCOL_
MAJOR - Candidate portable protocol major version.
- PROTOCOL_
MINOR - Candidate portable protocol minor version.
- RESERVED_
FEATURES - Reserved feature bits that a protocol 1.0 implementation must leave unadvertised.
- RESERVED_
REQUEST_ FLAG_ NO_ WAIT - Former draft assignment retained as a reserved-zero request bit.