ice_net_dim(9)
π ice_net_dim(9) π
okay so bestie, welcome to the Kernel API Manual β¨ β yes this is ice_net_dim, the little glow-up function that tells the net DIM algorithm what's up. it lives in ./drivers/net/ethernet/intel/ice and honestly? she's serving utility. π
πΈ NAME πΈ
ice_net_dim β update the net DIM algorithm π lowkey the whole job description right there
π¦ SYNOPSIS π¦
void ice_net_dim (struct ice_q_vector *q_vector );
like, that's it. one argument. tiny footprint, main character energy π
β¨ ARGUMENTS β¨
q_vectorβ the vector associated with the interrupt π«Ά that's the one (1) thing she needs from you
π DESCRIPTION π
so what she does is: create a DIM sample and notify net_dim, so that it can possibly decide a new ITR value based on incoming packets, bytes, and interrupts. πβ¨ like she's handing over the receipts and letting net_dim do the math.
and here's the part where you go "waitβ" π: this function is a no-op if the ring is not configured to dynamic ITR. literally does nothing. zero. zilch. she's not mad, she's just not being called to the group chat. π
<div>no cap, that's the whole behaviour. no extra tricks, no hidden vibes.</div>
π₯ SEE ALSO π₯
bestie buckle up, this list is LONG and honestly kind of iconic π§ β the kernel file itself:
- Kernel file
./drivers/net/ethernet/intel/ice/ice_txrx.c
and then the whole friend group, fr fr:
ice_prgm_fdir_fltr(9)ice_unmap_and_free_tx_buf(9)ice_clean_tstamp_ring(9)ice_free_tstamp_ring(9)ice_free_tx_tstamp_ring(9)ice_clean_tx_ring(9)ice_free_tx_ring(9)ice_clean_tx_irq(9)ice_alloc_tstamp_ring(9)ice_setup_tstamp_ring(9)ice_alloc_setup_tstamp_ring(9)ice_setup_tx_ring(9)ice_clean_rx_ring(9)ice_free_rx_ring(9)ice_setup_rx_ring(9)ice_run_xdp(9)ice_xmit_xdp_ring(9)ice_xdp_xmit(9)ice_init_ctrl_rx_descs(9)ice_alloc_rx_bufs(9)ice_clean_ctrl_rx_irq(9)ice_clean_rx_irq(9)ice_buildreg_itr(9)ice_enable_interrupt(9)ice_set_wb_on_itr(9)ice_napi_poll(9)__ice_maybe_stop_tx(9)ice_maybe_stop_tx(9)ice_tx_map(9)ice_tx_csum(9)ice_tx_prepare_vlan_flags(9)ice_tso(9)ice_txd_use_count(9)ice_xmit_desc_count(9)__ice_chk_linearize(9)ice_chk_linearize(9)ice_tstamp(9)ice_xmit_frame_ring(9)ice_start_xmit(9)ice_get_dscp_up(9)ice_clean_ctrl_tx_irq(9)
and that's the page, bestie π this drop comes to you from ./drivers/net/ethernet/intel/ice and the version stamp reads October 2026 β slay, go read the source, ily, bye πβ¨
π¦ 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