.\" Automatically generated by Pandoc 3.1.11.1
.\"
.TH "EFADV_QUERY_AH" "3" "2019\-05\-19" "efa" "EFA Direct Verbs Manual"
.SH NAME
efadv_query_ah \- Query EFA specific Address Handle attributes
.SH SYNOPSIS
.IP
.EX
#include <infiniband/efadv.h>

int efadv_query_ah(struct ibv_ah *ibvah, struct efadv_ah_attr *attr,
           uint32_t inlen);
.EE
.SH DESCRIPTION
\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
.EX
struct efadv_ah_attr {
    uint64_t comp_mask;
    uint16_t ahn;
    uint8_t reserved[6];
};
.EE
.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
\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
\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
Gal Pressman \c
.MT galpress@amazon.com
.ME \c
