ice_set_q_coalesce(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ice_set_q_coalesce(9) β€” the kernel API manual, but make it make sense

okay so bestie, you're in the ice driver docs (that's the Kernel API Manual, mmmkay) and today's main character is ice_set_q_coalesce. it does exactly one iconic thing: it sets a queue's ITR/INTRL (coalesce) settings. that's it. that's the whole vibe. ✨


πŸŽ€ SYNOPSIS πŸŽ€

int ice_set_q_coalesce (struct ice_vsi *vsi , struct ethtool_coalesce
*ec , int q_num );

literally just three args and an int return, no cap. 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • vsi β€” the struct ice_vsi * that's associated with the queue you're updating. like, which VSI owns this queue, bestie.
  • ec β€” the coalesce settings you want the device to be programmed with. this is the struct ethtool_coalesce * carrying the values.
  • q_num β€” the queue number/index whose ITR/INTRL (coalesce) settings you're updating. yes it's an int. yes it's the one you pick.

πŸ”₯ DESCRIPTION πŸ”₯

ngl the description is short and sweet: it returns 0 on success, and a negative value under these conditions:

  1. setting the Tx or Rx ITR/INTRL (coalesce) settings failed. πŸ’€
  2. the q_num you passed in is not a valid number/index for the Tx and Rx rings. πŸ™ˆ
so if you get a negative back, it's one of those two. that's the whole mood. no extra lore, don't @ me.

🌈 SEE ALSO 🌈

the kernel file lives at ./drivers/net/ethernet/intel/ice/ice_ethtool.c β€” go look, it's giving source-of-truth energy πŸ‘‘

and here's the whole friend group, don't leave anyone out, fr fr:


🌸 okay that's the page, bestie β€” mwah πŸ’–

this lil baddie shipped from ./drivers/net/ethernet/intel/ice and it's dated October 2026. periodt. πŸ’…πŸ‘‘

πŸ“¦ where this page comes from