efadv_query_ah(3)

efadv_query_ah3

Query efa specific address handle attributes

Usage

#include <infiniband/efadv.h>
int efadv_query_ah(struct ibv_ah *ibvah, struct efadv_ah_attr *attr,
           uint32_t inlen);

Overview

efadv_query_ah() queries device-specific Address Handle attributes.

Compatibility is handled using the comp_mask and inlen fields.

struct efadv_ah_attr {
    uint64_t comp_mask;
    uint16_t ahn;
    uint8_t reserved[6];
};
inlen

In: Size of struct efadv_ah_attr.

comp_mask

Compatibility mask.

ahn

Device’s Address Handle number.

Return value

efadv_query_ah() returns 0 on success, or the value of errno on failure (which indicates the failure reason).

Notes

•

Compatibility mask (comp_mask) is an out field and currently has no values.

Releases

4 releases since Debian 11 (Bullseye); the text changed 3 times.

  1. 11
  2. 12
  3. 13
  4. Arch

Authors

Gal Pressman ⟨[email protected]⟩\c

From rdma-core 65.0-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.