3 .TH UMAD_SEND 3 "May 11, 2007" "OpenIB" "OpenIB Programmer\'s Manual"
8 .B #include <infiniband/umad.h>
10 .BI "int umad_send(int " "portid" ", int " "agentid" ", void " "*umad" ", int " "timeout_ms" ", int " "retries");
16 buffer from the port specified by
18 and using the agent specified by
21 controls the solicited MADs behavior as follows:
22 zero value means not solicited. Positive value makes kernel indicate timeout
23 in milliseconds. If reply is not received within the specified value, the
24 original buffer is returned in the read channel with the status field set (to
27 makes kernel wait forever for the reply.
29 indicates the number of times the MAD will be retried before giving up.
32 returns 0 on success, and a negative value on error as follows:
33 -EINVAL invalid port handle or agentid
34 -EIO send operation failed
37 Hal Rosenstock <halr@voltaire.com>