25 #ifndef DOCA_DEVEMU_VIRTIO_TYPE_H_
26 #define DOCA_DEVEMU_VIRTIO_TYPE_H_
70 uint16_t *num_queues);
87 uint16_t *queue_size);
119 uint8_t *config_generation);
137 const struct doca_devemu_virtio_type *virtio_type, uint64_t *features);
154 uint16_t *num_queues);
#define DOCA_EXPERIMENTAL
To set a Symbol (or specifically a function) as experimental.
DOCA_EXPERIMENTAL doca_error_t doca_devemu_virtio_type_get_device_features_63_0(const struct doca_devemu_virtio_type *virtio_type, uint64_t *features)
Get the Virtio device_feature bits (0-63) according to Virtio specification configured for this type.
DOCA_EXPERIMENTAL doca_error_t doca_devemu_virtio_type_get_config_generation(const struct doca_devemu_virtio_type *virtio_type, uint8_t *config_generation)
Get the initial Virtio device config_generation register according to Virtio specification configured...
DOCA_EXPERIMENTAL doca_error_t doca_devemu_virtio_cap_default_type_get_max_num_queues(const struct doca_devemu_virtio_type *virtio_type, uint16_t *num_queues)
Get the maximum number of queues that can be configured for any Virtio device associated with the giv...
DOCA_EXPERIMENTAL doca_error_t doca_devemu_virtio_type_get_queue_size(const struct doca_devemu_virtio_type *virtio_type, uint16_t *queue_size)
Get the value of the queue_size register.
DOCA_EXPERIMENTAL doca_error_t doca_devemu_virtio_cap_default_type_get_configurable_device_features_63_0(const struct doca_devemu_virtio_type *virtio_type, uint64_t *features)
Get a bitmap of configurable device feature bits (0-63) for Virtio devices associated with the given ...
DOCA_EXPERIMENTAL doca_error_t doca_devemu_virtio_type_get_num_queues(const struct doca_devemu_virtio_type *virtio_type, uint16_t *num_queues)
Get the value of the num_queues register.
DOCA_EXPERIMENTAL struct doca_devemu_pci_type * doca_devemu_virtio_type_as_pci_type(struct doca_devemu_virtio_type *virtio_type)
Convert DOCA Virtio type instance into DOCA PCI type.
enum doca_error doca_error_t
DOCA API return codes.