manadv_alloc_pd3
Create a mana specific pd for the rdma device context.
Synopsis”
-
#include <infiniband/manadv.h> struct ibv_pd *manadv_alloc_pd(struct ibv_context *context, uint32_t flags);
Overview
manadv_alloc_pd() allocates a PD for the RDMA device context with additional creation flags.
Arguments
- context
-
RDMA device context to work on.
- flags
-
A bitwise OR of the various values described below.
MANADV_PD_FLAGS_SHORT_PDN: allocates a PD with 16 bit PDN.
Return value
returns a pointer to the allocated PD, or NULL if the request fails.