ice_init_rq(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ ice_init_rq(9) ✨

okay so bestie, this one’s from the Kernel API Manual, and it’s all about getting the receive side of a control queue ready πŸ’…


πŸŽ€ NAME πŸŽ€

ice_init_rq β€” initialize receive side of a control queue

🌸 SYNOPSIS 🌸

int ice_init_rq (struct ice_hw *hw , struct ice_ctl_q_info *cq );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • hw β€” pointer to the hardware structure
  • cq β€” pointer to the specific Control queue

✨ DESCRIPTION ✨

okay so this is the main initialization routine for the Receive side of a control queue. literally the setup moment for that receive side 🫢

Before you call this function, the driver MUST set these fields in the cq->structure:

  • cq->num_rq_entries
  • cq->rq_buf_size
do NOT hold the lock when calling this, because the memory allocation routines called are not going to be atomic context safe 😭 like, seriously, not the move.

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file: ./drivers/net/ethernet/intel/ice/ice_controlq.c

then all the sibling functions, no cap:


that’s the whole vibe from the Kernel API Manual, source/version ./drivers/net/ethernet/intel/ice, dated October 2026 β€” slay and stay safe πŸ’–

πŸ“¦ where this page comes from