manadv_alloc_pd(3) Library Functions Manual manadv_alloc_pd(3)

manadv_alloc_pd - Create a MANA specific PD for the RDMA device context.

#include <infiniband/manadv.h>
struct ibv_pd *manadv_alloc_pd(struct ibv_context *context, uint32_t flags);

manadv_alloc_pd() allocates a PD for the RDMA device context with additional creation flags.

RDMA device context to work on.
A bitwise OR of the various values described below.
MANADV_PD_FLAGS_SHORT_PDN: allocates a PD with 16 bit PDN.

returns a pointer to the allocated PD, or NULL if the request fails.

Konstantin Taranov kotaranov@microsoft.com