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

Go to the source code of this file.

Data Structures

union  doca_data
 Convenience type for representing opaque data. More...
 
struct  doca_gather_list
 Struct to represent a gather list. More...
 

Macros

#define doca_event_invalid_handle   INVALID_HANDLE_VALUE
 
#define DOCA_GID_BYTE_LENGTH   16
 Specifies the length of a GID (Global ID) in bytes. More...
 

Typedefs

typedef void * doca_event_handle_t
 
typedef doca_event_handle_t doca_notification_handle_t
 
typedef uint16_t doca_be16_t
 Declare DOCA endianity types. More...
 
typedef uint32_t doca_be32_t
 
typedef uint64_t doca_be64_t
 

Enumerations

enum  doca_access_flag {
  DOCA_ACCESS_FLAG_LOCAL_READ_ONLY = 0 , DOCA_ACCESS_FLAG_LOCAL_READ_WRITE = (1 << 0) , DOCA_ACCESS_FLAG_RDMA_READ = (1 << 1) , DOCA_ACCESS_FLAG_RDMA_WRITE = (1 << 2) ,
  DOCA_ACCESS_FLAG_RDMA_ATOMIC = (1 << 3) , DOCA_ACCESS_FLAG_PCI_READ_ONLY = (1 << 4) , DOCA_ACCESS_FLAG_PCI_READ_WRITE = (1 << 5) , DOCA_ACCESS_FLAG_PCI_RELAXED_ORDERING = (1 << 6)
}
 Specifies the permission level for DOCA buffer. More...
 
enum  doca_pci_func_type { DOCA_PCI_FUNC_TYPE_PF = 0 , DOCA_PCI_FUNC_TYPE_VF , DOCA_PCI_FUNC_TYPE_SF }
 Specifies the PCI function type for DOCA representor device. More...
 
enum  doca_gpu_mem_type { DOCA_GPU_MEM_TYPE_GPU = 0 , DOCA_GPU_MEM_TYPE_GPU_CPU = 1 , DOCA_GPU_MEM_TYPE_CPU_GPU = 2 }
 Type of memory the GPUNetIO library can allocate. More...
 
enum  doca_eth_wait_on_time_type { DOCA_ETH_WAIT_ON_TIME_TYPE_NONE = 0 , DOCA_ETH_WAIT_ON_TIME_TYPE_NATIVE = 1 , DOCA_ETH_WAIT_ON_TIME_TYPE_DPDK = 2 }
 Type of wait on time the network card can support. More...
 
enum  doca_mtu_size {
  DOCA_MTU_SIZE_256_BYTES = 0x0 , DOCA_MTU_SIZE_512_BYTES = 0x1 , DOCA_MTU_SIZE_1K_BYTES = 0x2 , DOCA_MTU_SIZE_2K_BYTES = 0x3 ,
  DOCA_MTU_SIZE_4K_BYTES = 0x4 , DOCA_MTU_SIZE_RAW_ETHERNET = 0x5
}
 MTU size in bytes. More...