rvt_create_cq(9)
π rvt_create_cq β create a completion queue
okay so this is from the Kernel API Manual, and it's literally the page for rvt_create_cq(9). buckle up bestie, it's short but it's iconic π
β¨ SYNOPSIS β¨
int rvt_create_cq (struct ib_cq *ibcq , const struct ib_cq_init_attr
*attr , struct uverbs_attr_bundle *attrs );
like, three args, one int back. simple. elegant. we love to see it π
π«Ά ARGUMENTS π«Ά
ibcqβ your Allocated CQ. yes queen, it's already allocated, that's the whole vibe here πattrβ the creation attributes. all the little settings that make your CQ your CQ β¨attrsβ the uverbs bundle. just passing it along, no cap π
πΈ DESCRIPTION πΈ
so the way this works: ib_create_cq calls this from the generic verbs code. that's it. that's the whole description. rdmavt is just sitting here being the middle layer, doing its little handoff, and honestly? main character energy π
β RETURN β
0 on success. that's the only thing this page tells you it returns, so don't go inventing extra return values in your head, bestie β stick to what's written π
π¦ SEE ALSO π¦
kernel file ./drivers/infiniband/sw/rdmavt/cq.c β go read it, iykyk π₯
rvt_cq_enter(9)rvt_destroy_cq(9)rvt_req_notify_cq(9)rvt_poll_cq(9)rvt_driver_cq_init(9)rvt_cq_exit(9)
π lowkey reminder: this page is tiny but every single line of it matters, so don't skip the SEE ALSO list, bestie π«Ά
and that's the whole page! brought to you by <./drivers/infiniband/sw/rdmavt> β¨ dated October 2026 β periodt, go create that completion queue ππ§
π¦ 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