ice_set_txq_ctx_vmvf(9)
π ice_set_txq_ctx_vmvf(9) β kernel API manual, bestie edition π
okay so picture this: you're deep in the ice driver, section 9 of the kernel manual, and you need a Tx ring to know who it belongs to β VM or VF β and which number it is. That's literally the whole gig of ice_set_txq_ctx_vmvf. It sets the queue context VM/VF type and number, keyed off the VSI type. Small function, big main character energy. β¨
πΈ SYNOPSIS πΈ
int ice_set_txq_ctx_vmvf (struct ice_tx_ring *ring , u8 *vmvf_type , u16 *vmvf_num );
π¦ ARGUMENTS π¦
ringβ the Tx ring we're configuring, bestie. This is the glow-up target. πvmvf_typeβ the VM/VF type. yes it's a pointer to au8, no we don't make the rules. πvmvf_numβ the VM/VF number. au16, pointed at. slay. π
β RETURN β
0 on success, and a negative value on error. that's it, that's the vibe check. if you get a negative back, something went sideways β no cap. π
π SEE ALSO π
first up, the source file itself lives at ./drivers/net/ethernet/intel/ice/ice_base.c β go read it, iykyk. π
then the whole friend group of related functions, all section 9, all iconic:
__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_calc_txq_handle(9)ice_cfg_xps_tx_ring(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)
ngl, that SEE ALSO list is a whole group chat and every single one of them ate. π«Ά
and that's the page, bestie!! π§ mwah. this one came from ./drivers/net/ethernet/intel/ice, dated October 2026, and yes it's filed under ice_set_txq_ctx_vmvf(9) β go forth and configure those Tx rings, you absolute legend. πππ
π¦ 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