ice_is_adq_active(9)
π ice_is_adq_active β bestie edition β¨
okay so this is a page from the Kernel API Manual for ice_is_adq_active(9) and honestly she's a little cutie π β tiny function, big "are we doing this or not" energy. Let's get into it π
πΈ NAME πΈ
ice_is_adq_active β tells you if there are any active ADQs π¦ like, at all. yes or no. that's the whole vibe check.
β¨ SYNOPSIS β¨
bool ice_is_adq_active (struct ice_pf *pf );
short. sweet. returns a bool. slay π
π«Ά ARGUMENTS π«Ά
pfβ pointer to PF π (yes bestie that's the whole description, she said what she said)
π₯ DESCRIPTION π₯
so here's the tea β this function returns true if there are any ADQs configured β and how does she figure that out? by peeking at three things: the VSI type (which should be VSI_PF), numtc, and the TC_MQPRIO flag π
if all that lines up, she's like "yep, ADQs are active" and hands you true β¨ otherwise? she returns false π no ADQs, no drama.
π¦ SEE ALSO π¦
the kernel file she lives in, obvi:
Kernel file ./drivers/net/ethernet/intel/ice/ice.h
and her whole friend group π β the full squad, no cap:
ice_vector_ch_enabled(9)ice_ptp_pf_handles_tx_interrupt(9)ice_irq_dynamic_ena(9)ice_netdev_to_pf(9)ice_is_txtime_ena(9)ice_is_txtime_cfg(9)ice_get_xp_from_qid(9)ice_rx_xsk_pool(9)ice_tx_xsk_pool(9)ice_get_max_txq(9)ice_get_max_rxq(9)ice_get_main_vsi(9)ice_get_netdev_priv_vsi(9)ice_get_ctrl_vsi(9)ice_find_vsi(9)ice_is_switchdev_running(9)ice_set_rdma_cap(9)ice_clear_rdma_cap(9)ice_is_dual(9)ice_is_primary(9)ice_pf_src_tmr_owned(9)ice_get_primary_hw(9)ice_get_ctrl_pf(9)
and that's the whole page, bestie π she's from ./drivers/net/ethernet/intel/ice, dated October 2026 β like, she's from the future and she's still just checking ADQs. iconic πβ¨π
π¦ 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