ice_get_ctrl_pf(9)
π§ ice_get_ctrl_pf π§
hiii bestie, welcome to the ice_get_ctrl_pf(9) page from the Kernel API Manual β¨ this one is short, sweet, and lowkey iconic β it's all about grabbing the Control PF pointer for the adapter, and honestly? We love a tiny helper with main character energy π
β¨ NAME β¨
ice_get_ctrl_pf β Get pointer to Control PF of the adapter π«Ά
π SYNOPSIS π
okay so here's the whole flex, literally copy-paste exact:
struct ice_pf * ice_get_ctrl_pf (struct ice_pf *pf );
π ARGUMENTS π
pfβ pointer to the current PF structure. That's the one you're handing over, bestie π
π RETURN π
It gives you back a pointer to the ice_pf structure which is the Control PF π
And if it's not initialized yet? You get NULL β no cap, that's the whole return tea β
π SEE ALSO π
the whole crew, fr fr:
- 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_is_primary(9)ice_pf_src_tmr_owned(9)ice_get_primary_hw(9)
mwah π β signed off with source/version ./drivers/net/ethernet/intel/ice and date October 2026, periodt πΈ
π¦ 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