1UMAD_SET_ADDR(3) OpenIB Programmer´s Manual UMAD_SET_ADDR(3)
2
3
4
6 umad_set_addr - set MAD address fields within umad buffer using host
7 ordering
8
10 #include <infiniband/umad.h>
11
12 int umad_set_addr(void *umad, int dlid, int dqp, int sl, int qkey);
13
15 umad_set_addr() sets the MAD address fields within the specified umad
16 buffer using the provided host ordered fields. dlid is the destination
17 LID. dqp is the destination QP (queue pair). sl is the SL (service
18 level). qkey is the Q_Key (queue key).
19
21 umad_set_addr() returns 0 on success, and a negative value on errors.
22 Currently, there are no errors indicated.
23
25 umad_set_addr_net(3)
26
28 Hal Rosenstock <halr@voltaire.com>
29
30
31
32OpenIB May 17, 2007 UMAD_SET_ADDR(3)