NVIDIA DOCA SDK Data Center on a Chip Framework Documentation
doca_devemu_virtio_type.h File Reference
#include <stdint.h>
#include <doca_error.h>
#include <doca_dev.h>
#include <doca_devemu_pci.h>
#include <doca_devemu_virtio.h>
Include dependency graph for doca_devemu_virtio_type.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

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. More...
 
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. More...
 
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. More...
 
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. More...
 
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 for this type. More...
 
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 default virtio type. More...
 
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 given default Virtio type. More...