ice_calc_txq_handle(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

ice_calc_txq_handle β€” bestie, it literally just calculates the queue handle ✨

So this little icon lives in the Kernel API Manual (yes the (9) is the section, we stan a numbered section), and its whole personality is doing the math to figure out a queue handle for you. That's it, that's the job πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

u16 ice_calc_txq_handle (const struct ice_vsi *vsi , struct ice_tx_ring
*ring , u8 tc );

okay so like β€” it hands you back a u16, takes a const struct ice_vsi * plus a struct ice_tx_ring * plus a u8, and returns the handle. No cap, that's the whole vibe check πŸ”₯


🌸 ARGUMENTS 🌸

  • vsi β€” the VSI that ring belongs to πŸ’… like, whose ring is this? this VSI's ring, periodt.
  • ring β€” the ring we're getting the absolute queue index for πŸŽ€ (absolute, bestie, not relative β€” the way it had to be indexed fr fr)
  • tc β€” the traffic class number 🌈 your fave little u8 that tells you which traffic class we're in

πŸ‘‘ SEE ALSO πŸ‘‘

The kernel file this cutie is defined in is literally:

  • ./drivers/net/ethernet/intel/ice/ice_base.c

and here's the whole friend group β€” the entire squad, no one left out, iykyk 🫢:


πŸ’€ real talk: every single one of those references is a real manpage section (9) entry, so if you're out here clicking around, keep the (9) β€” that's the kernel API manual, bestie, not a different manual. don't embarrass us πŸ™ˆ

and that's the page!! ✨ this little bookmark lives in ./drivers/net/ethernet/intel/ice, it's dated October 2026, and it's filed under ice_calc_txq_handle(9). mwah, go calculate some handles πŸ’œπŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from