umad_status — get the status of a umad buffer

Synopsis

#include <infiniband/umad.h>

int umad_status(void *umad);

Description

umad_status() get the internal umad status field.

Return Value

After a packet is received, umad_status() returns 0 on a successful receive, or a non zero status. ETIMEDOUT means that the packet had a send-timeout indication. In this case, the transaction ID will be set to the TID of the original request.

Author

Hal Rosenstock <halr@voltaire.com>

Info

May 17, 2007 OpenIB Programmer´s Manual