NVIDIA DOCA SDK Data Center on a Chip Framework Documentation
doca_uar.h File Reference
#include <stddef.h>
#include <stdint.h>
#include <doca_compat.h>
#include <doca_error.h>
Include dependency graph for doca_uar.h:

Go to the source code of this file.

Enumerations

enum  doca_uar_allocation_type { DOCA_UAR_ALLOCATION_TYPE_BLUEFLAME = 0 , DOCA_UAR_ALLOCATION_TYPE_NONCACHE = 1 , DOCA_UAR_ALLOCATION_TYPE_NONCACHE_DEDICATED = 2 }
 UAR allocation type. More...
 

Functions

DOCA_EXPERIMENTAL doca_error_t doca_uar_create (const struct doca_dev *dev, enum doca_uar_allocation_type allocation_type, struct doca_uar **uar)
 Creates a UAR object. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_uar_dpa_create (struct doca_dpa *dpa, struct doca_uar **uar)
 Creates a DPA UAR object. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_uar_destroy (struct doca_uar *uar)
 Destroy UAR object. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_uar_id_get (const struct doca_uar *uar, uint32_t *id)
 Returns the uar id. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_uar_page_get (const struct doca_uar *uar, void **page)
 Returns the uar page address. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_uar_reg_addr_get (const struct doca_uar *uar, void **reg)
 Returns the uar register address. More...