IBV_REQ_NOTIFY_CQ(3)
π IBV_REQ_NOTIFY_CQ(3) β Libibverbs Programmerβs Manual π
okay bestie, welcome to the Libibverbs Programmerβs Manual β todayβs main character is ibv_req_notify_cq(3), and she is here to handle your CQ notification business. β¨
πΈ NAME πΈ
ibv_req_notify_cq β request completion notification on a completion queue (CQ)
π¦ SYNOPSIS π¦
#include <infiniband/verbs.h>
int ibv_req_notify_cq(struct ibv_cq *cq, int solicited_only);
π DESCRIPTION π
okay so ibv_req_notify_cq() is literally the function that requests a completion notification on the completion queue (CQ) cq. iconic behavior. π
When a new CQ entry (CQE) gets added to cq, a completion event will be added to the completion channel associated with the CQ. Thatβs the vibe.
Now for the solicited_only tea:
- If
solicited_onlyis zero, a completion event is generated for any new CQE. - If
solicited_onlyis non-zero, an event is only generated for a new CQE thatβs considered βsolicited.β
A CQE is solicited if itβs a receive completion for a message with the Solicited Event header bit set, or if the status is not successful. slay that definition. π
All other successful receive completions, or any successful send completion, are unsolicited. no cap. π
β RETURN VALUE β
ibv_req_notify_cq() returns 0 on success, or the value of errno on failure (which indicates the failure reason). we love a clear return value. π«Ά
π₯ NOTES π₯
The request for notification is βone shot.β Only one completion event will be generated for each call to ibv_req_notify_cq(). periodt. π
π SEE ALSO π
π AUTHOR π
Dotan Barak <dotanba@gmail.com>
xoxo, this little gem is from libibverbs, dated 2006-10-31, and it lives under IBV_REQ_NOTIFY_CQ(3). byeee bestie π«Άππ
π¦ where this page comes from
- alpine 3.24: rdma-core-doc 61.0-r0 Β· GPL-2.0-only OR BSD-2-Clause
- centos-stream 10: rdma-core-devel 62.0-3.el10 Β· GPLv2 or BSD
- centos-stream 9: rdma-core-devel 61.0-3.el9 Β· GPLv2 or BSD
- centos-stream 9: rdma-core-devel 61.0-3.el9 Β· GPLv2 or BSD
- ubuntu jammy: libibverbs-dev 39.0-1 Β· BSD-MIT OR GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms