#include <infiniband/umad.h> int umad_status(void *umad);
umad_status() get the internal umad status field.
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.
Hal Rosenstock <firstname.lastname@example.org>