Skip to main content

Crate virtio_accel_cleanroom

Crate virtio_accel_cleanroom 

Source
Expand description

Independent, dependency-free codec for the virtio-accel protocol 1.0 candidate.

This crate intentionally does not depend on virtio-accel-proto, zerocopy, or any shared wire type. It implements the normative byte contract with explicit little-endian reads and writes so conformance tests can exercise interoperability through bytes alone.

Structs§

AllocateBuffer
Binding
Config
DeviceInfo
EventState
LoadProgram
Request
Response
ResponseContext
Submit
TransferBuffer

Enums§

Bindings
Error
EventKind
Opcode
RequestBody
ResponseBody

Constants§

HARD_MAX_BINDINGS
HARD_MAX_CHAIN_DESCRIPTORS
HARD_MAX_REQUEST_BYTES
HARD_MAX_RESPONSE_BYTES
KNOWN_BUFFER_USAGE_BITS
MIN_MAX_REQUEST_BYTES
MIN_MAX_RESPONSE_BYTES
PROTOCOL_MAJOR
PROTOCOL_MINOR
REQUEST_HEADER_BYTES
RESPONSE_HEADER_BYTES

Functions§

decode_config
decode_request
decode_response
validate_features