aboutsummaryrefslogtreecommitdiffstats
path: root/include/rdma/ib_verbs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/rdma/ib_verbs.h')
-rw-r--r--include/rdma/ib_verbs.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h
index 10a6268c2cc2..7ced208edacf 100644
--- a/include/rdma/ib_verbs.h
+++ b/include/rdma/ib_verbs.h
@@ -1088,6 +1088,20 @@ int ib_dealloc_pd(struct ib_pd *pd);
1088struct ib_ah *ib_create_ah(struct ib_pd *pd, struct ib_ah_attr *ah_attr); 1088struct ib_ah *ib_create_ah(struct ib_pd *pd, struct ib_ah_attr *ah_attr);
1089 1089
1090/** 1090/**
1091 * ib_init_ah_from_wc - Initializes address handle attributes from a
1092 * work completion.
1093 * @device: Device on which the received message arrived.
1094 * @port_num: Port on which the received message arrived.
1095 * @wc: Work completion associated with the received message.
1096 * @grh: References the received global route header. This parameter is
1097 * ignored unless the work completion indicates that the GRH is valid.
1098 * @ah_attr: Returned attributes that can be used when creating an address
1099 * handle for replying to the message.
1100 */
1101int ib_init_ah_from_wc(struct ib_device *device, u8 port_num, struct ib_wc *wc,
1102 struct ib_grh *grh, struct ib_ah_attr *ah_attr);
1103
1104/**
1091 * ib_create_ah_from_wc - Creates an address handle associated with the 1105 * ib_create_ah_from_wc - Creates an address handle associated with the
1092 * sender of the specified work completion. 1106 * sender of the specified work completion.
1093 * @pd: The protection domain associated with the address handle. 1107 * @pd: The protection domain associated with the address handle.