ice_is_primary(9)
π ice_is_primary(9) π
okay bestie, welcome to the Kernel API Manual β today's main character is ice_is_primary, and honestly? she's doing a vibe check on your hardware π«Ά
β¨ NAME β¨
ice_is_primary β the girl who checks if a given device belongs to the primary complex π
π¦ SYNOPSIS π¦
bool ice_is_primary (struct ice_hw *hw );
that's it. one function, one argument, zero drama (allegedly) π
π ARGUMENTS π
hwβ pointer to HW structure. that's your hardware bestie, she's the whole point here πΈ
β DESCRIPTION β
so what she does is: check if the given PF/HW is running on the primary complex in a multi-NAC configuration. literally that's the whole gig π like she looks at your PF/HW and goes "are you the primary one, or are you being extra?" and tells you the truth, no cap π₯
π RETURN π
returns true if the device is dual, and false otherwise β but plot twist, it's always true for non-E825 devices π so if you're not on E825, you already know the answer, bestie, go home π§
π SEE ALSO π
- Kernel file
./drivers/net/ethernet/intel/ice/ice.h 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_is_adq_active(9)ice_set_rdma_cap(9)ice_clear_rdma_cap(9)ice_is_dual(9)ice_pf_src_tmr_owned(9)ice_get_primary_hw(9)ice_get_ctrl_pf(9)
like, that's the whole friend group right there β go say hi to all of them, they're iconic π
ngl, none of this is scary, it's just a bool check. you got this. periodt. πβ¨
and that's a wrap, bestie! this page came from ./drivers/net/ethernet/intel/ice and it's dated October 2026 β so mark your calendar, screenshot it, frame it, whatever π bye pookie! π¦
π¦ 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