ice_init_all_ctrlq(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

okay so this page is ice_init_all_ctrlq(9) from the Kernel API Manual, and it's lowkey the main initialization routine for all control queues. periodt. πŸ’–

✨ SYNOPSIS ✨

here's the signature bestie, keep it exact:

int ice_init_all_ctrlq (struct ice_hw *hw );

πŸŽ€ ARGUMENTS πŸŽ€

  • hw β€” pointer to the hardware structure. that's the whole vibe. 🫢

🌸 DESCRIPTION 🌸

okay so before you call this function, the driver MUST* set these fields in cq->structure for all control queues:

  • cq->num_sq_entries
  • cq->num_rq_entries
  • cq->rq_buf_size
  • cq->sq_buf_size

like, no cap: these are the prerequisites. set them up first, then come through. ✨

⚠️ NOTE ⚠️

heads up bestie: this function does not initialize the controlq locks. not me expecting it to, because it won't. πŸ’€

πŸ‘€ SEE ALSO πŸ‘€

the squad of related stuff, all here:


xoxo, this page came from ./drivers/net/ethernet/intel/ice, dated October 2026, and it's ice_init_all_ctrlq(9) πŸ’–πŸ¦‹

πŸ“¦ where this page comes from