File: 983dc82fa7ae24ca010e5d6e9d76e86725041150

package info (click to toggle)
rdma-core 56.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 17,196 kB
  • sloc: ansic: 171,361; python: 13,724; sh: 2,774; perl: 1,465; makefile: 73
file content (47 lines) | stat: -rw-r--r-- 1,561 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
.\" Automatically generated by Pandoc 2.9.2.1
.\"
.TH "IBV_REQ_NOTIFY_CQ" "3" "2006-10-31" "libibverbs" "Libibverbs Programmer\[cq]s Manual"
.hy
.SH NAME
.PP
ibv_req_notify_cq - request completion notification on a completion
queue (CQ)
.SH SYNOPSIS
.IP
.nf
\f[C]
#include <infiniband/verbs.h>

int ibv_req_notify_cq(struct ibv_cq *cq, int solicited_only);
\f[R]
.fi
.SH DESCRIPTION
.PP
\f[B]ibv_req_notify_cq()\f[R] requests a completion notification on the
completion queue (CQ) \f[I]cq\f[R].
.PP
Upon the addition of a new CQ entry (CQE) to \f[I]cq\f[R], a completion
event will be added to the completion channel associated with the CQ.
If the argument \f[I]solicited_only\f[R] is zero, a completion event is
generated for any new CQE.
If \f[I]solicited_only\f[R] is non-zero, an event is only generated for
a new CQE with that is considered \[lq]solicited.\[rq] A CQE is
solicited if it is a receive completion for a message with the Solicited
Event header bit set, or if the status is not successful.
All other successful receive completions, or any successful send
completion is unsolicited.
.SH RETURN VALUE
.PP
\f[B]ibv_req_notify_cq()\f[R] returns 0 on success, or the value of
errno on failure (which indicates the failure reason).
.SH NOTES
.PP
The request for notification is \[lq]one shot.\[rq] Only one completion
event will be generated for each call to \f[B]ibv_req_notify_cq()\f[R].
.SH SEE ALSO
.PP
\f[B]ibv_create_comp_channel\f[R](3), \f[B]ibv_create_cq\f[R](3),
\f[B]ibv_get_cq_event\f[R](3)
.SH AUTHOR
.PP
Dotan Barak <dotanba@gmail.com>