.\" Automatically generated by Pandoc 2.9.2.1
.\"
.TH "manadv_alloc_pd" "3" "" "" ""
.hy
.SH NAME
.PP
manadv_alloc_pd - Create a MANA specific PD for the RDMA device context.
.SH SYNOPSIS\[dq]
.IP
.nf
\f[C]
#include <infiniband/manadv.h>

struct ibv_pd *manadv_alloc_pd(struct ibv_context *context, uint32_t flags);
\f[R]
.fi
.SH DESCRIPTION
.PP
\f[B]manadv_alloc_pd()\f[R] allocates a PD for the RDMA device context
with additional creation flags.
.SH ARGUMENTS
.TP
\f[I]context\f[R]
RDMA device context to work on.
.TP
\f[I]flags\f[R]
A bitwise OR of the various values described below.
.RS
.PP
MANADV_PD_FLAGS_SHORT_PDN: allocates a PD with 16 bit PDN.
.RE
.SH RETURN VALUE
.PP
returns a pointer to the allocated PD, or NULL if the request fails.
.SH AUTHORS
.PP
Konstantin Taranov <kotaranov@microsoft.com>
