umad_get_pkey - Man Page

get pkey index from umad buffer

Synopsis

#include <infiniband/umad.h>

int umad_get_pkey(void *umad);

Description

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

Return Value

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

Author

Sasha Khapyorsky <sashak@voltaire.com>

Info

Jan 15, 2008 OpenIB Programmer's Manual