DOKK / manpages / debian 11 / libibumad-dev / umad_get_pkey.3.en
UMAD_GET_PKEY(3) OpenIB Programmer's Manual UMAD_GET_PKEY(3)

umad_get_pkey - get pkey index from umad buffer

#include <infiniband/umad.h>

int umad_get_pkey(void *umad);

umad_get_pkey() gets the pkey index from the specified umad buffer.

umad_get_pkey() returns value of pkey index (or zero if pkey index is not supported by user_mad interface).

January 15, 2008 OpenIB