RDMA Transport Hooks.
More...
#include <nvme.h>
|
struct ibv_pd *(* | get_ibv_pd )(const struct spdk_nvme_transport_id *trid, struct ibv_context *verbs) |
| Get an InfiniBand Verbs protection domain.
|
|
uint64_t(* | get_rkey )(struct ibv_pd *pd, void *buf, size_t size) |
| Get an InfiniBand Verbs memory region for a buffer.
|
|
void(* | put_rkey )(uint64_t key) |
| Put back keys got from get_rkey.
|
|
◆ 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
-
trid | the transport id |
verbs | Infiniband 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
-
pd | The protection domain returned from get_ibv_pd |
buf | Memory buffer for which an rkey should be returned. |
size | size of buf |
- Returns
- Infiniband remote key (rkey) for this buf
◆ put_rkey
void(* spdk_nvme_rdma_hooks::put_rkey) (uint64_t key) |
Put back keys got from get_rkey.
- Parameters
-
key | The Infiniband remote key (rkey) got from get_rkey |
The documentation for this struct was generated from the following file: