1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
|
.\" Automatically generated by Pandoc 2.9.2.1
.\"
.TH "EFADV_QUERY_AH" "3" "2019-05-19" "efa" "EFA Direct Verbs Manual"
.hy
.SH NAME
.PP
efadv_query_ah - Query EFA specific Address Handle attributes
.SH SYNOPSIS
.IP
.nf
\f[C]
#include <infiniband/efadv.h>
int efadv_query_ah(struct ibv_ah *ibvah, struct efadv_ah_attr *attr,
uint32_t inlen);
\f[R]
.fi
.SH DESCRIPTION
.PP
\f[B]efadv_query_ah()\f[R] queries device-specific Address Handle
attributes.
.PP
Compatibility is handled using the comp_mask and inlen fields.
.IP
.nf
\f[C]
struct efadv_ah_attr {
uint64_t comp_mask;
uint16_t ahn;
uint8_t reserved[6];
};
\f[R]
.fi
.TP
\f[I]inlen\f[R]
In: Size of struct efadv_ah_attr.
.TP
\f[I]comp_mask\f[R]
Compatibility mask.
.TP
\f[I]ahn\f[R]
Device\[cq]s Address Handle number.
.SH RETURN VALUE
.PP
\f[B]efadv_query_ah()\f[R] returns 0 on success, or the value of errno
on failure (which indicates the failure reason).
.SH SEE ALSO
.PP
\f[B]efadv\f[R](7)
.SH NOTES
.IP \[bu] 2
Compatibility mask (comp_mask) is an out field and currently has no
values.
.SH AUTHORS
.PP
Gal Pressman <galpress@amazon.com>
|