![]() |
![]()
| ![]() |
![]()
NAMEibv_create_ah, ibv_destroy_ah - create or destroy an address handle (AH) SYNOPSIS#include <infiniband/verbs.h> struct ibv_ah *ibv_create_ah(struct ibv_pd *pd, struct ibv_ah_attr *attr); int ibv_destroy_ah(struct ibv_ah *ah); DESCRIPTIONibv_create_ah() creates an address handle (AH) associated with the protection domain pd. The argument attr is an ibv_ah_attr struct, as defined in <infiniband/verbs.h>. struct ibv_ah_attr { ibv_destroy_ah() destroys the AH ah. RETURN VALUEibv_create_ah() returns a pointer to the created AH, or NULL if the request fails. ibv_destroy_ah() returns 0 on success, or the value of errno on failure (which indicates the failure reason). SEE ALSOibv_alloc_pd(3), ibv_init_ah_from_wc(3), ibv_create_ah_from_wc(3) AUTHORS
|