irdma_sc_cq_create(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… irdma_sc_cq_create(9) β€” the Kernel API Manual page, but make it make sense πŸŽ€

okay bestie, so this is irdma_sc_cq_create(9) out of the Kernel API Manual, and no cap, the name kinda tells you everything: it creates a completion q. that's it, that's the vibe. this page is giving "one function, four arguments, and then a whole extended family in SEE ALSO" energy, and we're gonna get through all of it together. grab a πŸ“, let's go.


✨ NAME ✨

irdma_sc_cq_create β€” create completion q πŸ’–

like literally. it creates a completion queue. "cq" = completion q, iykyk.


🌸 SYNOPSIS 🌸

int irdma_sc_cq_create (struct irdma_sc_cq *cq , u64 scratch , bool check_overflow , bool post_sq );

it returns an int, it takes four things, and yes we're listing every single one of them below because that's what we do here. 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • cq β€” the cq struct itself. the actual completion-queue-shaped thing you're handing over. main character energy, honestly πŸ‘‘
  • scratch β€” a u64 that gets saved, and it's saved so it can be used during cqp completion. that's its whole job. it's the little note you pass yourself later πŸŽ€
  • check_overflow β€” a flag for the overflow check. it's a bool, it's a flag, it's checking overflow, that's the whole arc ✨
  • post_sq β€” a flag for cqp db to ring. yes, those are the words. no, we're not renaming them. post_sq, cqp db, ring β€” all of that stays exactly as written πŸ’…

🌈 SEE ALSO 🌈

first up, the file itself, because context is everything:

  • Kernel file ./drivers/infiniband/hw/irdma/ctrl.c

and then the rest of the family. literally EVERYONE shows up to this party, so here they all are, in the order the page gives them, no cap β€” not one single one dropped, because we do not do that here 😀:

ngl, if you read all 131 of those you're a legend and i'm obsessed with you 🫢 note that cfg_fpm_value_gen_3(9) and cqp_sds_wqe_fill(9) and sc_vsi_update_stats(9) lowkey forgot the irdma_ prefix β€” that's just how they're written, we don't fix what isn't ours πŸ’…

🌸 okay that's the whole page, bestie. no details lost, no flags invented. this one lives under ./drivers/infiniband/hw/irdma, dated October 2026, and the manual names it irdma_sc_cq_create(9) β€” so next time you see a completion q appear out of nowhere, you know exactly who did it. periodt. πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from