.\" 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>
