rvt_create_cq(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 πŸ”₯


πŸ’€ 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