irdma_create_ceq(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… irdma_create_ceq β€” create completion event queue ✨

okay so bestie, we're in the Kernel API Manual today (yes, the 9 section, we're fancy like that πŸŽ€) and the star of the show is irdma_create_ceq. It literally does what it says on the tin: it creates a completion event queue. Iconic behaviour, no notes. πŸ‘‘


✨ SYNOPSIS ✨

int irdma_create_ceq (struct irdma_pci_f *rf , struct irdma_ceq *iwceq ,
       u32 ceq_id , u16 vsi_idx );

like… four arguments, one int return, we love a clean signature 🫢


🌸 ARGUMENTS 🌸

  • rf β€” the RDMA PCI function. your main character struct, lowkey the whole reason we're here πŸ’–
  • iwceq β€” pointer to the ceq resources that are gonna get created. it's giving "here's the empty vessel, please fill it" πŸ¦‹
  • ceq_id β€” the id number of the iwceq. a u32 bestie, so it's got range ✨
  • vsi_idx β€” vsi idx. a lil u16, short and sweet πŸ“

πŸ”₯ DESCRIPTION πŸ”₯

so the whole vibe is: return 0 if the ceq and the resources associated with it are successfully created. that's the slay scenario πŸ’…

otherwise? return error. and yeah, "otherwise return error" is literally all the docs give us here β€” no cap, that's the deal 😭


🌈 SEE ALSO 🌈

okay this list is long long, but we don't skip, we don't cut, we list every single one of them because that's the assignment and we ate πŸ”₯

the kernel file lives at ./drivers/infiniband/hw/irdma/hw.c πŸ“ and the whole squad is:

yeah. sixty-something functions. we listed them all. you're welcome πŸ’œπŸ™ˆ


fr fr bestie, if you're gonna go read the source, start with the file above β€” that's where the actual hw.c lore lives 🧚

and that's a wrap! 🌟 this lil page came from ./drivers/infiniband/hw/irdma, dated October 2026, and it's filed under irdma_create_ceq(9) β€” go be great with your completion event queues, mwah πŸ’…πŸ’–πŸŽ€

πŸ“¦ where this page comes from