@@ -53,6 +53,10 @@ destroys the AH
.SH "RETURN VALUE"
.B ibv_create_ah()
returns a pointer to the created AH, or NULL if the request fails.
+.SH "NOTES"
+If port cap flag IBV_PORT_GRH_REQUIRED is set then
+.B ibv_create_ah()
+must be created with definition of 'struct ibv_ah_attr { .is_global = 1; .grh = {...}; }'.
.PP
.B ibv_destroy_ah()
returns 0 on success, or the value of errno on failure (which indicates the failure reason).
@@ -172,6 +172,11 @@ Init \fB IBV_QP_STATE, IBV_QP_PORT\fR
RTR \fB IBV_QP_STATE\fR
RTS \fB IBV_QP_STATE\fR
.fi
+.PP
+If port cap flag IBV_PORT_GRH_REQUIRED is set then
+ah_attr and alt_ah_attr
+must be passed with definition of 'struct ibv_ah_attr { .is_global = 1; .grh = {...}; }'.
+.PP
.SH "SEE ALSO"
.BR ibv_create_qp (3),
.BR ibv_destroy_qp (3),
@@ -356,7 +356,8 @@ enum ibv_port_cap_flags {
IBV_PORT_BOOT_MGMT_SUP = 1 << 23,
IBV_PORT_LINK_LATENCY_SUP = 1 << 24,
IBV_PORT_CLIENT_REG_SUP = 1 << 25,
- IBV_PORT_IP_BASED_GIDS = 1 << 26
+ IBV_PORT_IP_BASED_GIDS = 1 << 26,
+ IBV_PORT_GRH_REQUIRED = 1 << 27,
};
struct ibv_port_attr {