ib_cq_tail(9)
π ib_cq_tail β a Kernel API Manual moment (yes bestie, section 9)
okay so bestie, welcome to ib_cq_tail(9), a tiny little function living in the Kernel API Manual and honestly? she's small but she matters. This is the whole vibe: one function, one job, and it does it. Periodt. β¨
πΈ NAME πΈ
ib_cq_tail β literally just returns the tail index of the cq buffer, that's it, that's the whole thing π
β¨ SYNOPSIS β¨
u32 ib_cq_tail (struct ib_cq *send_cq );
ikr, look at her. clean. minimal. main character energy π
π¦ ARGUMENTS π¦
send_cqβ the cq for send. that's the one you're handing over, the send-side completion queue, no cap π«Ά
π DESCRIPTION π
so here's the tea π₯ β this one gets called inside qp_iter_print to grab the tail of the cq buffer. that's the entire lore. if you're in qp_iter_print and you need the tail index, she's your girl. iykyk π
π SEE ALSO π
bestie there are SO many cousins at this family reunion, buckle in π§ β they all live around the Kernel file ./include/rdma/rdmavt_qp.h:
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_send_cq(9)rvt_qp_complete_swqe(9)struct rvt_qp_iter(9)ib_cq_head(9)β her sibling!! head and tail, iconic duo πrvt_free_rq(9)rvt_to_iport(9)rvt_rc_credit_avail(9)
like i said. big family. all of them matter, don't skip a single one π
and that's the page, bestie!! π source livin' in ./include/rdma, dated October 2026 β mwah, go read some kernel headers, love u, bye π
π¦ 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