ice_calc_txq_handle(9)
π 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 thatringbelongs 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 littleu8that 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 π«Ά:
__ice_vsi_get_qs_contig(9)__ice_vsi_get_qs_sc(9)ice_pf_rxq_wait(9)ice_vsi_alloc_q_vector(9)ice_free_q_vector(9)ice_cfg_itr_gran(9)ice_cfg_xps_tx_ring(9)ice_set_txq_ctx_vmvf(9)ice_setup_tx_ctx(9)ice_setup_txtime_ctx(9)ice_calc_ts_ring_count(9)ice_setup_rx_ctx(9)ice_vsi_cfg_rxq(9)ice_vsi_cfg_frame_size(9)ice_vsi_cfg_rxqs(9)__ice_vsi_get_qs(9)ice_vsi_ctrl_one_rx_ring(9)ice_vsi_wait_one_rx_ring(9)ice_vsi_alloc_q_vectors(9)ice_vsi_map_rings_to_vectors(9)ice_vsi_free_q_vectors(9)ice_cfg_tstamp(9)ice_vsi_cfg_txq(9)ice_vsi_cfg_txqs(9)ice_vsi_cfg_lan_txqs(9)ice_vsi_cfg_xdp_txqs(9)ice_cfg_itr(9)ice_cfg_txq_interrupt(9)ice_cfg_rxq_interrupt(9)ice_trigger_sw_intr(9)ice_vsi_stop_tx_ring(9)ice_fill_txq_meta(9)ice_qp_reset_stats(9)ice_qp_clean_rings(9)ice_qp_dis(9)ice_qp_ena(9)
π 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms