spdk_nvme_rdma_hooks Struct Reference

RDMA Transport Hooks. More...

Data Fields

struct ibv_pd *(* get_ibv_pd )(const struct spdk_nvme_transport_id *trid, struct ibv_context *verbs)
 Get an InfiniBand Verbs protection domain. More...
 
uint64_t(* get_rkey )(struct ibv_pd *pd, void *buf, size_t size)
 Get an InfiniBand Verbs memory region for a buffer. More...
 

Detailed Description

RDMA Transport Hooks.

Field Documentation

◆ get_ibv_pd

struct ibv_pd*(* spdk_nvme_rdma_hooks::get_ibv_pd) (const struct spdk_nvme_transport_id *trid, struct ibv_context *verbs)

Get an InfiniBand Verbs protection domain.

Parameters
tridthe transport id
verbsInfiniband verbs context
Returns
pd of the nvme ctrlr

◆ get_rkey

uint64_t(* spdk_nvme_rdma_hooks::get_rkey) (struct ibv_pd *pd, void *buf, size_t size)

Get an InfiniBand Verbs memory region for a buffer.

Parameters
pdThe protection domain returned from get_ibv_pd
bufMemory buffer for which an rkey should be returned.
sizesize of buf
Returns
Infiniband remote key (rkey) for this buf

The documentation for this struct was generated from the following file: