25 #ifndef DOCA_RDMA_BRIDGE_H_
26 #define DOCA_RDMA_BRIDGE_H_
31 #include <infiniband/verbs.h>
36 #define UM_MAX_ERRNO 999
45 #define __DEVX_IFC_H__
56 #include <mlx5verbs.h>
#define DOCA_EXPERIMENTAL
To set a Symbol (or specifically a function) as experimental.
#define DOCA_STABLE
To set a Symbol (or specifically a function) as stable API, i.e. it won't be changed.
enum doca_error doca_error_t
DOCA API return codes.
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.
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.
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.
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.