umad_set_pkey
set pkey index within umad buffer
- Provided by: libibumad-dev (Version: 39.0-1)
- Source: rdma-core
- Report a bug
set pkey index within umad buffer
#include <infiniband/umad.h> int umad_set_pkey(void *umad, int pkey_index);
umad_set_pkey() sets the pkey index within the specified umad buffer.
umad_set_pkey() returns 0 on success, and a negative value on an error.