ice_set_vf_state_dis(9)
π
ice_set_vf_state_dis β a Kernel API Manual moment π
okay so bestie, welcome to the ice show β¨ this little icon of a function lives in the Kernel API Manual and honestly? it does exactly one thing and it does it slayfully. no cap.
πΈ NAME πΈ
ice_set_vf_state_dis β literally just Set VF state to disabled π that's it. that's the whole job. she's a one-line queen π
π¦ SYNOPSIS π¦
void ice_set_vf_state_dis (struct ice_vf *vf );
void return, no drama, no return value to argue with. the way that signature is so clean?? π«Ά
π ARGUMENTS π
vfβ pointer to the VF structure π§ that's the one (1) thing you gotta hand her. a pointer. to the VF struct. iconic, minimal, correct.
β¨ SEE ALSO β¨
the whole friend group π literally the entire ice_vf_lib.c group chat, and the kernel file they all live in is ./drivers/net/ethernet/intel/ice/ice_vf_lib.c π β everyone say hi:
ice_get_vf_by_id(9)ice_release_vf(9)ice_put_vf(9)ice_has_vfs(9)ice_get_num_vfs(9)ice_get_vf_vsi(9)ice_is_vf_disabled(9)ice_wait_on_vf_reset(9)ice_check_vf_ready_for_cfg(9)ice_trigger_vf_reset(9)ice_vf_pre_vsi_rebuild(9)ice_vf_reconfig_vsi(9)ice_vf_rebuild_vsi(9)ice_vf_rebuild_host_vlan_cfg(9)ice_vf_rebuild_host_tx_rate_cfg(9)ice_vf_set_host_trust_cfg(9)ice_vf_rebuild_host_mac_cfg(9)ice_vf_rebuild_aggregator_node_cfg(9)ice_vf_rebuild_host_cfg(9)ice_set_vf_state_qs_dis(9)ice_vf_set_initialized(9)ice_vf_post_vsi_rebuild(9)ice_is_any_vf_in_unicast_promisc(9)ice_vf_get_promisc_masks(9)ice_vf_clear_all_promisc_modes(9)ice_vf_set_vsi_promisc(9)ice_vf_clear_vsi_promisc(9)ice_reset_vf_mbx_cnt(9)ice_reset_all_vfs(9)ice_notify_vf_reset(9)ice_reset_interrupts(9)ice_reset_vf(9)ice_initialize_vf_entry(9)ice_dis_vf_qs(9)ice_err_to_virt_err(9)ice_check_vf_init(9)ice_vf_get_port_info(9)ice_cfg_mac_antispoof(9)ice_vsi_ena_spoofchk(9)ice_vsi_dis_spoofchk(9)ice_vsi_apply_spoofchk(9)ice_is_vf_trusted(9)ice_vf_has_no_qs_ena(9)ice_is_vf_link_up(9)ice_vf_ctrl_invalidate_vsi(9)ice_vf_ctrl_vsi_release(9)ice_vf_ctrl_vsi_setup(9)ice_vf_init_host_cfg(9)ice_vf_invalidate_vsi(9)ice_vf_vsi_release(9)ice_get_vf_ctrl_vsi(9)ice_vf_update_mac_lldp_num(9)
every single one of them, no skips, we don't do that here π
lowkey all you need to remember: hand her a struct ice_vf * and she sets that VF's state to disabled. simple. clean. main character energy π₯
and that's the whole page bestie ππ«Ά straight from ./drivers/net/ethernet/intel/ice, dated October 2026, and yes the footer still says ice_set_vf_state_dis(9) because she's consistent like that πβ¨π π
π¦ 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