1EFADV_QUERY_AH(3) EFA Direct Verbs Manual EFADV_QUERY_AH(3)
2
3
4
6 efadv_query_ah - Query EFA specific Address Handle attributes
7
9 #include <infiniband/efadv.h>
10
11 int efadv_query_ah(struct ibv_ah *ibvah, struct efadv_ah_attr *attr,
12 uint32_t inlen);
13
15 efadv_query_ah() queries device-specific Address Handle attributes.
16
17 Compatibility is handled using the comp_mask and inlen fields.
18
19 struct efadv_ah_attr {
20 uint64_t comp_mask;
21 uint16_t ahn;
22 uint8_t reserved[6];
23 };
24
25 inlen In: Size of struct efadv_ah_attr.
26
27 comp_mask
28 Compatibility mask.
29
30 ahn Device’s Address Handle number.
31
33 efadv_query_ah() returns 0 on success, or the value of errno on failure
34 (which indicates the failure reason).
35
37 efadv(7)
38
40 · Compatibility mask (comp_mask) is an out field and currently has no
41 values.
42
44 Gal Pressman <galpress@amazon.com>
45
46
47
48efa 2019-05-19 EFADV_QUERY_AH(3)