From 1ac5f02fc0278b1d192a762b0fad523dc9c41dcb Mon Sep 17 00:00:00 2001 From: Roland Dreier Date: Wed, 22 Mar 2006 18:58:00 +0000 Subject: [PATCH] Improve documentation of ibv_req_notify_cq() Signed-off-by: Roland Dreier --- ChangeLog | 5 +++++ include/infiniband/verbs.h | 8 +++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 2a4d01d..9091847 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-03-22 Roland Dreier + + * include/infiniband/verbs.h (ibv_req_notify_cq): Document + parameters better. + 2006-03-16 Roland Dreier * src/cmd.c, src/device.c, src/memory.c, src/verbs.c: Add include diff --git a/include/infiniband/verbs.h b/include/infiniband/verbs.h index d51560d..ccea54c 100644 --- a/include/infiniband/verbs.h +++ b/include/infiniband/verbs.h @@ -795,7 +795,13 @@ static inline int ibv_poll_cq(struct ibv_cq *cq, int num_entries, struct ibv_wc } /** - * ibv_req_notify_cq - Request completion notification on a CQ. + * ibv_req_notify_cq - Request completion notification on a CQ. An + * event will be added to the completion channel associated with the + * CQ when an entry is added to the CQ. + * @cq: The completion queue to request notification for. + * @solicited_only: If non-zero, an event will be generated only for + * the next solicited CQ entry. If zero, any CQ entry, solicited or + * not, will generate an event. */ static inline int ibv_req_notify_cq(struct ibv_cq *cq, int solicited_only) { -- 2.46.0