rvt_send_cq(9)
π rvt_send_cq(9) β the Kernel API Manual page, bestie edition π
Okay so this is from the Kernel API Manual, section 9, and the page is called rvt_send_cq. Buckle up, it's a short one but it ate. β¨
β¨ NAME β¨
rvt_send_cq β literally just "add a new entry to completion queue by send queue" π¦
πΈ SYNOPSIS πΈ
void rvt_send_cq (struct rvt_qp *qp , struct ib_wc *wc , bool solicited
);
That's it. That's the whole vibe check. Returns void, so no return value drama. π
π ARGUMENTS π
qpβ the send queue β¨ (yes the whole argument description is just "send queue", keep up bestie)wcβ the work completion entry to add π«Άsolicitedβtrueif the entry is solicited,falseif it's not π
π₯ DESCRIPTION π₯
So like, this one is a wrapper function for the rvt_enter_cq function call by send queue β that's the whole bit. π§
And here's the important part, bestie, don't skip it: if rvt_cq_enter returns false, that means the cq is full, and the qp gets put into an error state. π So yeah, false = bad vibes, cq full, qp in error state, periodt.
ngl this is the kind of function where the caveat is the whole plot β afalsefromrvt_cq_enterisn't just "no thanks", it flips your qp into an error state. Respect the return value. π
π SEE ALSO π
The page points you at the kernel file ./include/rdma/rdmavt_qp.h, plus this whole friend group of references β all of them, no gatekeeping:
struct rvt_ud_wr(9)struct rvt_krwq(9)rvt_get_swqe_ah_attr(9)rvt_get_swqe_remote_qpn(9)rvt_get_swqe_remote_qkey(9)rvt_get_swqe_pkey_index(9)rvt_get_rq_count(9)struct rvt_operation_params(9)rvt_is_user_qp(9)rvt_get_qp(9)rvt_put_qp(9)rvt_put_swqe(9)rvt_qp_wqe_reserve(9)rvt_qp_wqe_unreserve(9)rvt_div_round_up_mtu(9)rvt_div_mtu(9)rvt_timeout_to_jiffies(9)rvt_lookup_qpn(9)rvt_mod_retry_timer_ext(9)rvt_put_qp_swqe(9)rvt_qp_swqe_incr(9)rvt_recv_cq(9)rvt_qp_complete_swqe(9)struct rvt_qp_iter(9)ib_cq_tail(9)ib_cq_head(9)rvt_free_rq(9)rvt_to_iport(9)rvt_rc_credit_avail(9)
and that's the page!! π Sourced from ./include/rdma, dated October 2026, and it's page rvt_send_cq(9) of the Kernel API Manual β mwah, iconic, no notes πππ¦πΈπ«Ά
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms