SysTutorials

Linux Manual Pages › Section 3

umad_set_pkey(3)

umad_set_pkey – set pkey index within umad buffer

Synopsis

#include <infiniband/umad.h>
int umad_set_pkey(void *umad, int pkey_index);

Description

umad_set_pkey() sets the pkey index within the specified umad buffer.

Return Value

umad_set_pkey() returns 0 on success, and a negative value on an error.

Author

Hal Rosenstock <halr [at] voltaire.com>