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

Go to the source code of this file.

Macros

#define UM_MAX_ERRNO   999
 Maximum possible value for errno, to use by encoding error in a pointer address. More...
 
#define UM_ENOMEM   12
 Encoding of the ENOMEM error. More...
 
#define __DEVX_IFC_H__
 Defining DEVX_IFC_H discards the definitions in \MLNX_WinOF2_DevX_SDK\inc\mlx5_ifc_devx.h that is included by the WinOF header files below. More...
 

Typedefs

typedef uint16_t __be16
 
typedef uint32_t __be32
 
typedef uint64_t __be64
 
typedef uint16_t u16
 
typedef uint32_t u32
 
typedef uint64_t u64
 

Functions

DOCA_STABLE doca_error_t doca_rdma_bridge_get_dev_pd (const struct doca_dev *dev, struct ibv_pd **pd)
 Get the protection domain associated with a DOCA device. More...
 
DOCA_STABLE doca_error_t doca_rdma_bridge_open_dev_from_pd (struct ibv_pd *pd, struct doca_dev **dev)
 Open a DOCA device using an ibv_pd. More...
 
DOCA_STABLE doca_error_t doca_rdma_bridge_get_buf_mkey (const struct doca_buf *buf, struct doca_dev *dev, uint32_t *mkey)
 Get lkey with doca_access_flag access for a DOCA buffer of a DOCA device. More...
 
DOCA_EXPERIMENTAL doca_error_t doca_rdma_bridge_get_mmap_mkey_from_pd (const struct doca_mmap *mmap, struct ibv_pd *pd, uint32_t *mkey)
 Get the mkey of a DOCA device associated with a given ibv_pd. More...