irdma_sc_process_ceq(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– irdma_sc_process_ceq(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual ✨ β€” this one is irdma_sc_process_ceq(9), and no cap, it's a little queen with a very specific job. let's get into it 🫢


🌸 SYNOPSIS 🌸

bool irdma_sc_process_ceq (struct irdma_sc_dev *dev , struct
irdma_sc_ceq *ceq , u32 *cq_idx );

like, it returns a bool, it takes three things, it's giving "small but mighty" energy πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the sc device struct. yes babe, the whole device. it's the main character here πŸ‘‘
  • ceq β€” the ceq sc structure. the actual completion event queue we're messing with ✨
  • cq_idx β€” a pointer to a CQ ID that's gonna get populated. not read. populated. important distinction, iykyk πŸ¦‹

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the vibe check πŸ“‹: the caller is expected to serialize this function with cleanup_ceqes β€” like, they must not run at the same time, fr fr β€” because these two functions manipulate the same ceq 😭 both of them touching the same thing at once is giving chaos, and not the cute kind πŸ’€

so yeah. serialize them. no cap. ⭐


✨ RETURN ✨

Returns True if cq_idx has been populated with a CQ ID πŸ’– that's it, that's the whole answer, slay 🌈


πŸ’œ SEE ALSO πŸ’œ

first up, the actual source, bestie β€” go read it, it's right here:

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

and now the iconic extended universe of related pages, in all their glory πŸ‘‘


reminder bestie: serialize with cleanup_ceqes. they share the same ceq. that's the whole warning. don't make me say it twice πŸ™ˆ

okay that's the page!! πŸ’– it lives under ./drivers/infiniband/hw/irdma, dated October 2026, and the header/footer both say irdma_sc_process_ceq(9) β€” the manual name is Kernel API Manual, icon behavior only, periodt πŸ‘‘βœ¨πŸŽ€πŸ’…

πŸ“¦ where this page comes from