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